CI - split git commands

This commit is contained in:
Dragan Filipovic 2021-04-17 00:22:34 +02:00
parent 880f3b6b88
commit 8b977327bb

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