Skip to content

Commit

Permalink
cd(bump): move update to catch it in the commmit
Browse files Browse the repository at this point in the history
  • Loading branch information
brianbruggeman committed May 24, 2024
1 parent feb7eb1 commit 7b51dfc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,15 @@ jobs:
id: set-new-version
run: echo "::set-output name=version::$(./target/release/semrel show next)"

- name: Update version
run: ./target/release/semrel update

- name: Commit changes
env:
GITHUB_TOKEN: ${{ secrets.token }}
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git stash
git fetch origin
git rebase main
git stash pop
./target/release/semrel update
git add .
git commit -m "release: ${{ steps.set-new-version.outputs.version }} "
git remote set-url origin https://x-access-token:${{ secrets.token }}@github.com/${{ github.repository }}.git
Expand Down

0 comments on commit 7b51dfc

Please sign in to comment.