Skip to content

Commit

Permalink
fix: Fix release-it command to extract version correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldmaale committed Mar 17, 2024
1 parent 53c1456 commit 9b3fd2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: |
echo version before: $(nbgv get-version -v SimpleVersion)
npm install
VERSION=$(npx release-it --release-version | tr -d '"')
VERSION=$(npx release-it --release-version | tail -n 1 | tr -d '"')
nbgv set-version $VERSION
echo version after: $(nbgv get-version -v SimpleVersion)
git add . && git commit -m "chore: updated version.json version to v$(nbgv get-version -v SimpleVersion)"
Expand Down

0 comments on commit 9b3fd2f

Please sign in to comment.