Repository navigation
fix(release): auto-bump del tag cuando la version ya esta publicada - #102
Open
diegoleteliers10 wants to merge 1 commit into
Open
diegoleteliers10 wants to merge 1 commit into
diegoleteliers10 wants to merge 1 commit into
Conversation
A merge used to skip the release silently when vX.Y.Z already existed. Now release-on-merge: - if the current tag is free, tags the merge commit (same as before); - if the tag exists but its release is missing, dispatches that tag (recovery); - if the tag and release both exist, creates a release commit that bumps the patch (0.28.2 -> 0.28.3), tags that commit and dispatches the build. The commit lives only on the tag; main is not modified. - detects an existing tag on the merge commit or its direct child and skips, so re-running the workflow does not create another patch. The release job now falls back to a commit list when CHANGELOG has no section for the auto-bumped version.
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.
Qué
El PR #101 se mergeo con la version anterior de
release-on-merge: si el tagv0.28.2ya existia, el job terminaba verde y no publicaba nada. Este PR corrige esa logica:vX.Y.Zno existe, taggea el merge (como antes).v0.28.2->v0.28.3), lo taggea y construye. El commit vive solo en el tag;mainno se toca.git logcuandoCHANGELOG.mdno tiene seccion para la version auto-bumpeada.Validacion
bash -n.0.28.2->0.28.3, recuperacion de tag sin release, e idempotencia de un re-run.cargo set-versionprobado en un paquete minimo; actualizaCargo.tomlyCargo.lock.Notas
v0.28.3siv0.28.2ya esta).