Skip to content

Commit

Permalink
ci: Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewscwei committed Jul 8, 2024
1 parent 4e7459c commit 4375e51
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 21
cache: npm
- name: Release semantic version
run: npx semantic-release
run: |
npm i -g semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/exec
npx semantic-release
- name: Release major version
run: |
VERSION="$(git tag --points-at ${{ github.sha }})"
Expand Down

0 comments on commit 4375e51

Please sign in to comment.