Skip to content

Commit

Permalink
Update main branch name in the release action
Browse files Browse the repository at this point in the history
  • Loading branch information
vidi42 committed Jun 10, 2024
1 parent 55d3018 commit eb91c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ jobs:

- name: Merge into Main
run: |
git checkout master
git checkout main
git pull
git merge --no-ff release/v${VERSION}
git tag -a -m "v${VERSION}" "v${VERSION}"
git push --follow-tags
- name: Create Release
run: |
gh release create "v${VERSION}" -t "v${VERSION}" -F CHANGELOG.md -R ${{ github.repository }} --target master
gh release create "v${VERSION}" -t "v${VERSION}" -F CHANGELOG.md -R ${{ github.repository }} --target main
env:
GITHUB_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }}

Expand Down

0 comments on commit eb91c12

Please sign in to comment.