Skip to content

Commit

Permalink
Fix accidental publish of 0.0.0 version of NPM package
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Helwer <2n8rn1w1f@mozmail.com>
  • Loading branch information
ahelwer committed Apr 22, 2024
1 parent ce6ff0b commit 8e750a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
- name: Change back node package name
run: git checkout package.json
run: |
git checkout package.json
sed -i -e "s/0\.0\.0/${{ github.ref_name }}/" package.json
- name: Publish scoped package to NPM
run: npm publish --access=public
env:
Expand Down

0 comments on commit 8e750a7

Please sign in to comment.