diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4256d08..9ec8ba4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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) @@ -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