Skip to content

Commit

Permalink
fix the failure of update-version yaml script. specify the target bra…
Browse files Browse the repository at this point in the history
…nch on pushing
  • Loading branch information
tamada committed Apr 20, 2024
1 parent a328484 commit a887382
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
run: |
echo "GITHUB_REF: $GITHUB_REF"
echo "tag=${GITHUB_REF##*/v}" >> $GITHUB_OUTPUT
echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
- name: Update version
run: |
Expand All @@ -29,6 +30,7 @@ jobs:
git config --global user.email "action@github.com"
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
- name: Commit the changes
run: |
git commit -a -m "update version to ${{ steps.vars.outputs.tag }}, ready to publish v${{ steps.vars.outputs.tag }}" || true
Expand Down

0 comments on commit a887382

Please sign in to comment.