Uh oh!
There was an error while loading. Please reload this page.
Use goversioninfo to create Windows version info - #3310
Conversation
dd69cb4 to
cece8beCompareCodecov Report
@@ Coverage Diff @@## master #3310 +/- ##
=======================================
Coverage 57.99% 57.99% =======================================
Files 302 302 Lines 21764 21764 =======================================
Hits 12621 12621 Misses 8219 8219 Partials 924 924 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
crazy-max
commented
Sep 27, 2021
4bf0cf8 to
aad3090CompareUh oh!
There was an error while loading. Please reload this page.
| } | ||
| } | ||
| EOL | ||
| cat ./cmd/docker/versioninfo.json |
There was a problem hiding this comment.
This is just for debugging, correct? (wondering if it should do this by default, or left to the consumer of this script)
There was a problem hiding this comment.
Yeah just for debugging and also audit in CI.
2ac67d5 to
a4ae4f1Compareb0a73c7 to
341292dComparecrazy-max
commented
Oct 4, 2021
thaJeztah
commented
Oct 4, 2021
/cc @cpuguy83 (in case you're using this) |
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
thaJeztah
commented
Oct 11, 2021
We discussed this change in the maintainers meeting, and everyone agreed that this was a nicer solution than what we had before, so I'll bring this in once CI finishes 👍 |
Follow-up moby/moby#42872
- What I did
Replace windres with native Go implementation to be able to create a syso file which contains Microsoft Windows Version Information and an icon using goversioninfo.
This also fixes an issue with
VERSIONINFO:Tool is not vendored but I can do that it if you want.
- How I did it
Remove windres references and replace with goversioninfo. Also use
go:generatefor better integration and add legal copyright field.- How to verify it
should produce:
COMPANY_NAMEcan be used to set the company that produced the windows binary.- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)
cc @thaJeztah
Signed-off-by: CrazyMax crazy-max@users.noreply.github.com