Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/tools/lookup-run-id
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ fi
# ── Mode: tag ──
echo "Looking up run ID for tag: ${REF} in repository: ${REPOSITORY}" >&2

if ! COMMIT_SHA=$(git rev-parse "${REF}"); then
if ! COMMIT_SHA=$(git rev-parse "${REF}^{commit}"); then
echo "Error: Could not resolve git tag '${REF}' to a commit SHA" >&2
echo "Make sure the tag exists and you have fetched it" >&2
exit 1
Expand Down