Skip to content

feat: include winres metadata in Windows binaries #16706

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

Merged
merged 6 commits into from
Feb 28, 2025
Merged

Conversation

deansheather
Copy link
Member

@deansheather deansheather commented Feb 26, 2025

Adds information like product/file version, description, product name and copyright to compiled Windows binaries in dogfood and release builds. Also adds an icon to the executable.

This is necessary for Coder Desktop to be able to check the version on binaries.

Before:

image
image

After:

image
image
image

Closes #16693

Adds information like product/file version, description, product name
and copyright to compiled Windows binaries in dogfood and release
builds.
@deansheather
Copy link
Member Author

Seems to work in the build job

@deansheather
Copy link
Member Author

Tested in the release job and it seems to work. Unfortunately I can't really test whether the binaries will have (development build) in the description and x.y.z.1 instead of x.y.z.0 as the assembly version unless it's a real build.

@deansheather deansheather merged commit 64fec8b into main Feb 28, 2025
40 checks passed
@deansheather deansheather deleted the dean/winres branch February 28, 2025 05:03
@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 2025
@matifali
Copy link
Member

/cherry-pick release/2.20

1 similar comment
@matifali
Copy link
Member

/cherry-pick release/2.20

@matifali matifali restored the dean/winres branch February 28, 2025 07:25
@matifali matifali deleted the dean/winres branch February 28, 2025 08:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows binaries should contain product version, slim binaries should be signed
3 participants