dannycjones commented on code in PR #2912:
URL: https://github.com/apache/iceberg-rust/pull/2912#discussion_r3682975939
##########
.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}"
Review Comment:
I don't think its possible to do as a validation ahead of dispatch, so this
is the next best thing.
We don't technically need the input, as we are already dispatching the
workflow against a ref (branch or tag), but I have made this change as its the
closest to what we already have but provides the right guardrail.
--
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]