Skip to content

Commit

Permalink
build: update release to automatically set tag (#41)
Browse files Browse the repository at this point in the history
* build: update release to automatically set tag

* fix: release workflow

---------

Co-authored-by: Richard Herman <[email protected]>
  • Loading branch information
GeekyEggo and GeekyEggo authored Apr 30, 2024
1 parent 82fb01b commit d00e043
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ jobs:
- name: "🧪 Test"
run: npm run test

- name: "📖 Retrieve package information"
uses: geekyeggo/npm-pkg@v1
id: pkg

- name: "📤 Publish"
run: npm publish --provenance --access public
run: npm publish --provenance --access public --tag ${{ steps.pkg.outputs.version-tag }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
sign-git-tag=true
tag=beta

0 comments on commit d00e043

Please sign in to comment.