| name | sync-upstream-tags |
| description | Compare local release tags with git/git tags and create+push each missing version tag in ascending order. |
Sync Upstream Git Release Tags
Use this skill when you need to synchronize this repository's release tags with upstream Git releases.
Steps
- Identify the latest local semantic version tag (
X.Y.Z) in this repository.
- Fetch upstream release tags from
https://github.com/git/git/tags.
- Compute missing semantic version tags not present locally.
- Process missing tags in ascending version order (oldest to newest).
- For each missing tag, run:
git tag <version>
git push origin <version>
- Stop immediately if any command fails, and report which tag failed.
Run
bash .github/skills/sync-upstream-tags/scripts/sync-upstream-tags.sh
Verify