Skip to content

Commit

Permalink
chore: fix prepare_release action for non-patch releases
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBredehoft committed Oct 3, 2023
1 parent 8336b47 commit 84d2511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prepare_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: |
IS_PATCH="$(poetry run python ./script/make_utils/version_utils.py is_patch_release --version "$VERSION")"
if [[ "${IS_PATCH}" == "false" ]]; then
if [[ "${IS_PATCH}" == "true" ]]; then
if [[ "${BRANCH_IS_RELEASE}" == "false" ]]; then
echo "Patch release cannot be done: target branch is not a release branch"
Expand Down

0 comments on commit 84d2511

Please sign in to comment.