Skip to content

Give each release its own build-numbered tag - #6

Merged
tanglearncode merged 1 commit into
mainfrom
release-build-numbers
Oct 23, 2026
Merged

tanglearncode merged 1 commit into
mainfrom
release-build-numbers

Conversation

@tanglearncode

Copy link
Copy Markdown
Contributor

A release run used to reuse the MarkText tag (e.g. v0.20.0) as its release tag, so rebuilding the same MarkText version, for example with a newer NativeBoat, replaced the earlier release and its files.

  • release.yml: each run creates a new release tagged <marktext-ref>.<n>. n is one higher than the highest existing numbered tag for that MarkText version, so the first build of v0.20.0 is v0.20.0.1. Existing tags are read from the repo's git refs, so a number is never reused, and .10 sorts above .9. The ZIP is renamed to match (MarkText-v0.20.0.1-native-win-x64.zip) and SHA256SUMS.txt is regenerated. The step that edited existing releases is removed; gh release create fails rather than overwrites if the tag already exists.
  • README: explains the release tagging.

The existing v0.20.0 release is left untouched.

The tag numbering and ZIP renaming were checked locally against simulated tag lists. The workflow itself hasn't been run yet.

Releases are tagged with the MarkText tag plus a build number
(v0.20.0.1, v0.20.0.2, ...), one higher than the highest existing tag
for that MarkText version, so a rebuild with a newer NativeBoat no
longer replaces an earlier release. The ZIP is named after the release
tag.
@tanglearncode
tanglearncode merged commit 50d06c8 into main Oct 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant