Skip to content

Commit

Permalink
ci: correct tag reachable logic
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyx committed Jul 11, 2024
1 parent 792b006 commit a54e876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ci/assert-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function main() {
git fetch --depth 50 origin "$RELEASE_BRANCH"

# Check if its reachable.
if [ -n "$(git rev-list --first-parent \
if [ -z "$(git rev-list --first-parent \
--ancestry-path \
"$release_tag^..origin/$RELEASE_BRANCH")" ]; then
git log --oneline --graph "$RELEASE_BRANCH" "$release_tag" || true
Expand Down

0 comments on commit a54e876

Please sign in to comment.