CI - split git commands

main
Dragan Filipovic 2021-04-17 00:22:34 +02:00
parent 880f3b6b88
commit 8b977327bb
1 changed files with 3 additions and 2 deletions

View File

@ -24,6 +24,7 @@ jobs:
- name: Setup version and git tag
if: ${{ github.event.inputs.tag != '' }}
run: |
npm version ${{ github.event.inputs.tag }}
git push
npm version ${{ github.event.inputs.tag }
git tag -a v${{ github.event.inputs.tag }} -m "v${{ github.event.inputs.tag }}"
- name: Push changes
run: git push