Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Aug 15, 2024

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
version.go Outdated Show resolved Hide resolved
version.go Outdated Show resolved Hide resolved
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
12 checks passed
@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