mirror of
https://github.com/games-on-whales/LXC2Docker.git
synced 2026-10-15 12:52:04 +00:00
[PR #137] [MERGED] feat(release): auto-increment the version on release #136
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/LXC2Docker#136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/LXC2Docker/pull/137
Author: @JBailes
Created: 7/5/2026
Status: ✅ Merged
Merged: 7/5/2026
Merged by: @JBailes
Base:
main← Head:feat/release-auto-increment📝 Commits (1)
4c0d8bffeat(release): auto-increment the version instead of requiring one📊 Changes
3 files changed (+69 additions, -21 deletions)
View changed files
📝
Makefile(+7 -5)📝
readme.md(+8 -3)📝
scripts/release.sh(+54 -13)📄 Description
make release/scripts/release.shpreviously required a manually-specified version, so releases didn't auto-increment. Now they derive the next version from the latestvX.Y.Ztag:make release→ patch bump (v0.1.4→v0.1.5)make release BUMP=minor/BUMP=majormake release VER=1.4.0→ explicit./scripts/release.sh [--minor|--major|X.Y.Z]Fetches remote tags first so it increments correctly from a fresh clone, drops any prerelease/build suffix when bumping, and keeps the clean-tree / existing-tag guards. Verified: from
v0.1.0→ patchv0.1.1, minorv0.2.0, majorv1.0.0.Optional follow-up (not in this PR): auto-tag on every merge to
mainfor fully hands-off releases — say the word and I'll add a CI job.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.