Skip to content

Commit

Permalink
ci(brick): patch release action order
Browse files Browse the repository at this point in the history
  • Loading branch information
esteinig committed Feb 10, 2024
1 parent edf97b3 commit d10365f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,21 @@ jobs:
with:
check-latest-tag-only: true


- name: Auto bump version
run: |
cog bump --auto
- name: Create a new branch for the pull request
run: |
NEW_BRANCH="bot/release-${{ steps.release.outputs.version }}"
git checkout -b $NEW_BRANCH
- name: Auto bump version and commit changes
- name: Commit and push changes
run: |
cog bump --auto
git status
git add .
git commit -m "chore(release): update changelog and version for ${{ steps.release.outputs.version }}"
- name: Push changes
run: |
git push origin "bot/release-${{ steps.release.outputs.version }}"
- name: Create Pull Request
Expand Down

0 comments on commit d10365f

Please sign in to comment.