Skip to content

Commit

Permalink
CI fix 7
Browse files Browse the repository at this point in the history
  • Loading branch information
korvin89 committed Oct 16, 2024
1 parent f940f07 commit 56dfd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
MAIN_COMMIT=$(git rev-parse origin/main)
echo "Main commit: ${MAIN_COMMIT}"
LAST_RELEASE_BRANCH="release-${LAST_RELEASE_VERSION}"
LAST_RELEASE_COMMIT=$(git rev-parse "origin/$LAST_RELEASE_BRANCH")
LAST_RELEASE_COMMIT=$(git rev-parse "origin/main")
echo "Last release commit: ${LAST_RELEASE_COMMIT}"
if [ "$MAIN_COMMIT" = "$LAST_RELEASE_COMMIT" ]; then echo "Hash commit in main branch matches the last release branch commit" && exit 1; fi
Expand Down

0 comments on commit 56dfd6c

Please sign in to comment.