Skip to content

Commit

Permalink
Delete rc branch
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisInSky committed Nov 5, 2024
1 parent 0ad0561 commit a44c375
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release-rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ jobs:
git push origin "$RC_BRANCH"
git tag rs/v${{ steps.release_info.outputs.version }}
git push origin rs/v${{ steps.release_info.outputs.version }}
git tag -d "${GITHUB_REF#refs/tags/}"
git push --delete origin "${GITHUB_REF#refs/tags/}"
git checkout main
git merge --squash "$RC_BRANCH"
git commit -m "chore: sync release v${{ steps.release_info.outputs.version }}"
git push origin main
git branch -d "$RC_BRANCH"
git push origin --delete "$RC_BRANCH"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a44c375

Please sign in to comment.