Skip to content

Embed version#235

Merged
idroz merged 2 commits intobravetools:masterfrom
Szubie:embed-version
Dec 16, 2022
Merged

Embed version#235
idroz merged 2 commits intobravetools:masterfrom
Szubie:embed-version

Conversation

@Szubie
Copy link
Collaborator

@Szubie Szubie commented Dec 16, 2022

Pre-built binaries for bravetools did not have version info built into them and consequently the version command would return nil. For example:

Bravetools Version: <nil>

This was caused by dynamic lookup of a version file which does not exist alongside the binary. Instead, it's better to embed the VERSION file into the binary so it's always available for lookup.

brave version
Bravetools Version: release-2.00

@idroz idroz merged commit 06efc06 into bravetools:master Dec 16, 2022
@Szubie Szubie deleted the embed-version branch December 16, 2022 15:52
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.

2 participants