Skip to content

Commit

Permalink
ci: update ci script to ignore commit failed in nothing to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tamada committed Jun 17, 2022
1 parent b2980d8 commit d4ba9da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/update_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4ba9da

Please sign in to comment.