Skip to content

Commit

Permalink
feat: get version when bump if fail
Browse files Browse the repository at this point in the history
  • Loading branch information
khoilen committed Jan 7, 2025
1 parent f07f066 commit d27112a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git tag "v${{ steps.bump-version.outputs.new_version }}"
git push origin "v${{ steps.bump-version.outputs.new_version }}"
if [ "${{ env.new_version }}" != "unknown" ]; then
git tag "v${{ env.new_version }}"
git push origin "v${{ env.new_version }}"
else
echo "Skipping push due to unknown version"
fi
working-directory: apps/nt-stylesheet

0 comments on commit d27112a

Please sign in to comment.