From 8b977327bbf9746791e985d8d30c6e5e8ff84725 Mon Sep 17 00:00:00 2001 From: Dragan Filipovic Date: Sat, 17 Apr 2021 00:22:34 +0200 Subject: [PATCH] CI - split git commands --- .github/workflows/version-bump-publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/version-bump-publish.yml b/.github/workflows/version-bump-publish.yml index a5f3cb0..a6e78aa 100644 --- a/.github/workflows/version-bump-publish.yml +++ b/.github/workflows/version-bump-publish.yml @@ -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