Skip to content

App version is taken from version.json compiled in#149

Merged
gammazero merged 4 commits intomasterfrom
fix/correct-app-version
Aug 15, 2024
Merged

App version is taken from version.json compiled in#149
gammazero merged 4 commits intomasterfrom
fix/correct-app-version

Conversation

@gammazero
Copy link
Contributor

This ensures that the version is always set to the correct value. making version.json the source of truth.

Fixes #146
Fixes #113

This ensures that the version is always set to the correct value. making version.json the source of truth.

Fixes #146
Fixes #113
@gammazero gammazero requested a review from SgtPooki August 15, 2024 14:44
Copy link
Contributor

@aschmahmann aschmahmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks. Left one comment.

Would be nice if there was a way to only use the tag if the commit matched the tag instead of always adding the commit, but IIUC you can't do that from the build information alone (probably something about how Go wants to pretend Git tags are immutable while also knowing that they're actually not). (e.g. you need to do things like https://github.com/mvdan/sh/blob/ccc828fc563fc884e664f11a62427025f74106af/cmd/shfmt/Dockerfile#L6)

@gammazero gammazero merged commit 10a70df into master Aug 15, 2024
@gammazero gammazero deleted the fix/correct-app-version branch August 15, 2024 21:45
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.

version report issue with 0.10.0 release Automate version bump in ipget --version

3 participants