We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c4a82f commit 9731c9aCopy full SHA for 9731c9a
.github/workflows/publish.yaml
@@ -36,6 +36,11 @@ jobs:
36
- name: Publish with npm
37
run: |
38
cd packages/agent-sdk
39
- npm publish --access public
+ # If the version string includes a hyphen (e.g. 1.2.0-beta.1), mark as "next"
40
+ if [[ "$GITHUB_REF" =~ - ]]; then
41
+ npm publish --access public --tag next
42
+ else
43
+ npm publish --access public
44
+ fi
45
env:
46
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments