Skip to content

Commit

Permalink
fix(lib): add correct pre-release strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMcAssey committed Feb 5, 2025
1 parent 4dda5a4 commit 6f2f7d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
- name: Build
run: npm run build
- name: Publish
if: github.ref == 'refs/heads/master'
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
if: github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta'
run: npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glokon/guacamole-common-js",
"version": "1.6.0-beta.0",
"version": "1.6.1-beta.0",
"description": "Guacamole common js with typescript type definitions",
"type": "module",
"main": "lib/cjs/guacamole.js",
Expand Down

0 comments on commit 6f2f7d6

Please sign in to comment.