Skip to content

Add an option to parse string versions into FixedFileInfo#64

Merged
josephspurrier merged 1 commit intojosephspurrier:masterfrom
yalegko:master
Apr 2, 2025
Merged

Add an option to parse string versions into FixedFileInfo#64
josephspurrier merged 1 commit intojosephspurrier:masterfrom
yalegko:master

Conversation

@yalegko
Copy link
Copy Markdown
Contributor

@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.

2 participants