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 version information to windows binaries #61

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

pziggo
Copy link
Contributor

@pziggo pziggo commented Dec 4, 2024

The information required for stamping binaries is only available when building
on Linux and macOS. Therefore, the windows binary doesn't show the version with
the version command:

> engflow_auth.exe version
build metadata is unavailable (build with bazel's `--stamp` flag to enable)

This change adds the windows batch file to collect the required information on
Windows systems.

The information required for stamping binaries is only available when building
on Linux and macOS. Therefore, the windows binary doesn't show the version with
the `version` command:
```
> engflow_auth.exe version
build metadata is unavailable (build with bazel's `--stamp` flag to enable)
```

This change adds the windows batch file to collect the required information on
Windows systems.
Windows is using the `::` command to start comments in batch files. This
change adds this word to the check_copyright_headers binary.
@pziggo pziggo requested review from jayconrod and rogerhu December 4, 2024 09:22
@pziggo pziggo merged commit ca09d1e into main Dec 5, 2024
5 checks passed
@pziggo pziggo deleted the patrick/add-version-info-to-windows-bin branch December 5, 2024 11:03
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.

3 participants