From d4ba9da38fa67347fcc4f967b7e76d027554721b Mon Sep 17 00:00:00 2001 From: Haruaki Tamada Date: Fri, 17 Jun 2022 10:30:31 +0900 Subject: [PATCH] ci: update ci script to ignore commit failed in nothing to commit --- .github/workflows/update_version.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/update_version.yaml b/.github/workflows/update_version.yaml index 9c42bc8..330ad0c 100644 --- a/.github/workflows/update_version.yaml +++ b/.github/workflows/update_version.yaml @@ -38,9 +38,7 @@ jobs: regex='s/v[0-9]*\.[0-9]*\.[0-9]*/v${{ steps.vars.outputs.tag }}/g' sed $regex README.md > a ; mv a README.md sed $regex site/content/_index.md > a ; mv a site/content/_index.md - git commit -a -m "update version to ${{ steps.vars.outputs.tag }}, ready to publish v${{ steps.vars.outputs.tag }}" - - true + git commit -a -m "update version to ${{ steps.vars.outputs.tag }}, ready to publish v${{ steps.vars.outputs.tag }}" || true - name: Push branch uses: ad-m/github-push-action@master