Create_Release_Git_Tag: CI-aware, idempotent tagging, and dry-run support#539
Open
Create_Release_Git_Tag: CI-aware, idempotent tagging, and dry-run support#539
Create_Release_Git_Tag: CI-aware, idempotent tagging, and dry-run support#539Conversation
Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create_Release_Git_Tag: tag the built commit, add CI-aware default, and improve debug logging
Enhance Create_Release_Git_Tag task with CI-aware commit resolution and idempotent tagging
Aug 30, 2025
Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
Author
johlju
requested changes
Sep 1, 2025
Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
Copilot
AI
changed the title
Enhance Create_Release_Git_Tag task with CI-aware commit resolution and idempotent tagging
Enhance Create_Release_Git_Tag task with CI-aware commit resolution, idempotent tagging, and dry-run support
Sep 1, 2025
Collaborator
|
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
Collaborator
|
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. |
Merged
12 tasks
Owner
|
I might be able to use and test this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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