Skip to content

Commit

Permalink
use git-checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Jun 19, 2023
1 parent efd16da commit 48363c0
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 @@ -27,7 +27,7 @@ jobs:
# 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)"
git checkout -b "release/$(cat .major-version)" "origin/$(cat .major-version)"
# Bump version on merging Pull Requests with specific labels.
# (bump:major,bump:minor,bump:patch)
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
# 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)"
git checkout -b "release/$(cat .major-version)" "origin/$(cat .major-version)"
- name: Post bumpr status comment
uses: haya14busa/action-bumpr@v1

0 comments on commit 48363c0

Please sign in to comment.