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

Add an option to parse string versions into FixedFileInfo #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yalegko
Copy link

@yalegko yalegko commented Oct 24, 2023

During our release pipeline we always need to update all version components of the versioninfo.json, which is a bit tedious as we not only have to update version strings, but also split the strings an a number components to fill the FixedFileInfo structs

We used to use a small utility to parse and insert new version in to the JSON file, but it seems as a common problem for most of goversioninfo users (at least for those, who want to add a version into the binary)

Here we propose a new CLI option which will use "string versions" set in StringFileInfo (or using --file-version and --product-version flags) to fill the corresponding structs in the FixedFileInfo

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.

None yet

1 participant