From 93942b9dcd5d506c65f34193f87c0ae489c4c1e7 Mon Sep 17 00:00:00 2001 From: Matt Holtzman Date: Thu, 14 Sep 2023 13:00:07 -0400 Subject: [PATCH] use correct shell for script --- .github/workflows/post-publish-update-version.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/post-publish-update-version.yml b/.github/workflows/post-publish-update-version.yml index 018c73619..6ab09df03 100644 --- a/.github/workflows/post-publish-update-version.yml +++ b/.github/workflows/post-publish-update-version.yml @@ -3,7 +3,6 @@ name: Update application version after release has been published on: release: types: [published] - workflow_dispatch: jobs: bump_release: @@ -15,3 +14,10 @@ jobs: id: update-version shell: bash run: ./scripts/update-version.sh + - name: Commit & Push new version + run: | + git config user.name github-actions + git config user.email github-actions@github.com + git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} + git commit -am "chore: update version" + git push