Skip to content

Commit

Permalink
fix: allow publish-new-version action to run from branch (#2698)
Browse files Browse the repository at this point in the history
We cannot hard code the branch to be "main" if we want to allow the
release script to also run from branch (e.g. 4.18 maintenance branch)
  • Loading branch information
ivarconr committed Dec 15, 2022
1 parent e716ddc commit 8e5ca35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-new-version.yaml
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: npm version
run: |
npm version ${{ github.event.inputs.version }} --ignore-scripts
git push origin main
git push origin ${{ github.ref_name }}
git push --tags
env:
CI: true

0 comments on commit 8e5ca35

Please sign in to comment.