mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-26 13:48:33 +02:00
fix: allow publish-new-version action to run from branch (#2698)
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)
This commit is contained in:
parent
e716ddc0ee
commit
8e5ca352c3
2
.github/workflows/publish-new-version.yaml
vendored
2
.github/workflows/publish-new-version.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user