Skip to content

Commit

Permalink
fix: Update app version using nbgv and release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldmaale committed Mar 17, 2024
1 parent 20d96ba commit 53c1456
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,13 @@ jobs:
with:
path: .
setCommonVars: true
# stamp: ./package.json

- name: Set app version
run: |
echo version before: $(nbgv get-version -v SimpleVersion)
npm install
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
nbgv set-version $(npx release-it --release-version)
VERSION=$(npx release-it --release-version | 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 53c1456

Please sign in to comment.