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

[feature] Set version variable for releases #410

Open
ianlewis opened this issue Jun 28, 2022 · 0 comments
Open

[feature] Set version variable for releases #410

ianlewis opened this issue Jun 28, 2022 · 0 comments
Labels
area:tooling An issue with project tooling and config type:feature New feature or request

Comments

@ianlewis
Copy link
Member

If we can, we should try to add using the following ldflags to go build commands for releases.
-ldflags="-X github.com/slsa-framework/slsa-github-generator/version.Version=X.Y"
https://github.com/slsa-framework/slsa-github-generator/blob/main/version/version.go

@ianlewis ianlewis added type:feature New feature or request area:tooling An issue with project tooling and config labels Jun 28, 2022
@ianlewis ianlewis mentioned this issue Jun 28, 2022
22 tasks
@ianlewis ianlewis removed this from the GA for generic generator milestone Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:tooling An issue with project tooling and config type:feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant