1
0
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:
Ivar Conradi Østhus 2022-12-15 09:25:44 +01:00 committed by GitHub
parent e716ddc0ee
commit 8e5ca352c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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