Skip to content

Commit

Permalink
chore: fix prerelease action
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed Jul 23, 2024
1 parent 79fbfe5 commit 97f301f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
run: node common/scripts/install-run-rush.js build

- name: Publish npm packages
run: node common/scripts/install-run-rush.js publish --apply --version-policy npm --partial-prerelease --publish --tag beta --prerelease-name beta.${GITHUB_SHA::6}
run: |
commit_hash=$(git rev-parse HEAD)
node common/scripts/install-run-rush.js publish --apply --version-policy npm --partial-prerelease --publish --tag beta --prerelease-name beta.${commit_hash::6}
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit 97f301f

Please sign in to comment.