fix(release): compare the mirrored tag object, since a reused tag name answers 200 while stale #13
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/compare-the-mirrored-tag-object"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The confirmation added in v0.1.22 checked only that GitHub answered 200 for the tag name. An rc number is derived from the source tags alone, so a name can be reused, and a ref left behind by a partial prune answers 200 while still pointing at the previous release - every job waiting on the mirror would then run against the wrong commit.
Compares the object the mirror serves with the one just pushed. The test gains that case.