Skip to content

Commit

Permalink
fix(ci): also push version commit
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Feb 28, 2025
1 parent 536681f commit e942c2b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/actions/publish-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ runs:
make_latest: true
tag_name: ${{ steps.package-version.outputs.PKG_JSON_VERSION }}

- name: Push Version
if: inputs.tag == 'latest'
run: git push origin main
shell: bash

# Log the git diff for easy debugging
- name: Log Generated Changes
if: inputs.tag == 'dev'
Expand Down

0 comments on commit e942c2b

Please sign in to comment.