dannycjones commented on code in PR #2912:
URL: https://github.com/apache/iceberg-rust/pull/2912#discussion_r3683045414
##########
.github/workflows/release_python.yml:
##########
@@ -61,11 +61,18 @@ jobs:
exit 1
fi
echo "✅ Release tag format is valid: $RELEASE_TAG"
-
+
+ # Verify that the workflow is being run on the same version as the
release tag
+ DESIRED_REF="refs/tags/${RELEASE_TAG}"
+ if [[ "${GITHUB_REF}" != "${DESIRED_REF}" ]]; then
Review Comment:
This is a great call out, thanks. I'll add it to the actual error output
rather than a comment, similar to the error output below this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]