Skip to content

Commit

Permalink
fix release-check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Jun 19, 2023
1 parent ad6052d commit efd16da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,12 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0

# Release tags must be reachable from HEAD because the bump comment uses `git tag --merged`:
# https://github.com/haya14busa/bump/blob/9ab5412f5d96eb624c7e8559acbb11330be9901a/main.go#L72
- name: checkout to release branch
run: |
git branch -b "release/$(cat .major-version)" "origin/$(cat .major-version)"
- name: Post bumpr status comment
uses: haya14busa/action-bumpr@v1

0 comments on commit efd16da

Please sign in to comment.