Skip to content

Reject git-describe versions in self-update - #8

Merged
davidbudnick merged 1 commit into
mainfrom
fix-update-semver
Jul 27, 2026
Merged

Reject git-describe versions in self-update#8
davidbudnick merged 1 commit into
mainfrom
fix-update-semver

Conversation

@davidbudnick

Copy link
Copy Markdown
Owner

Summary

  • Treat only exact vX.Y.Z tags as updatable releases
  • Git-describe builds (v0.0.2-2-g…) now get the install-script message instead of a broken self-update attempt

Context

A local make build binary in ~/.local/bin was SIGKILL'd on --update; official v0.0.3 works. Loose semver matching made dirty builds try the update path.

Test plan

  • go test -run TestIsSemver
  • Official postgres-tui --update reports already up to date on v0.0.3

@davidbudnick
davidbudnick merged commit eb72fa5 into main Jul 27, 2026
10 checks passed
@davidbudnick
davidbudnick deleted the fix-update-semver branch July 27, 2026 19:58
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