Skip to content

Commit

Permalink
Fetch and pull in action
Browse files Browse the repository at this point in the history
  • Loading branch information
sbordeyne committed Aug 17, 2024
1 parent 2cebe82 commit 63df268
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
run: |
git config --global user.name 'GitHub Action'
git config --global user.email '[email protected]'
git fetch --tags
git checkout ${{ steps.env.outputs.default-branch }}
git pull ${{ steps.env.outputs.remote }} ${{ steps.env.outputs.default-branch }}
sed -i --regexp-extended --expression="s/^version = \"[0-9\.]+\"/version = \"${{ github.event.release.tag_name }}\"/g" Cargo.toml
git add Cargo.toml
git commit -m "bump version to ${{ github.event.release.tag_name }}"
Expand Down

0 comments on commit 63df268

Please sign in to comment.