-
Notifications
You must be signed in to change notification settings - Fork 47
Create_Release_Git_Tag: CI-aware, idempotent tagging, and dry-run support
#539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
johlju
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot update changelog with a short entry
Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
|
I just realized that it is not this task that sets the preview tag for GitHub, it is the task |
Create_Release_Git_Tag: CI-aware, idempotent tagging, and dry-run support
|
I keep this open for a while if there is any demand we can merge, but need someone to verify functionality in an actual use-case. |
This PR enhances the
Create_Release_Git_Tagbuild task with three key improvements:1. CI-aware commit resolution
BuildCommitparameter that automatically resolves the commit SHA from CI environment variablesGITHUB_SHA) and Azure Pipelines (BUILD_SOURCEVERSION)git rev-parse HEADif no CI variables are available2. Idempotent tagging behavior
3. Dry-run support
DryRunparameter (defaults tofalse) for testing tag operations without making changesEnhanced logging
These changes maintain backward compatibility while providing more reliable and observable tag creation in CI/CD pipelines.
This change is