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

fix: Unquote ldflags in Release workflow #41

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

nieomylnieja
Copy link
Contributor

Motivation

LDFLAGS Docker argument should not be quoted since this causes:

invalid value "'-s -w -X github.com/nobl9/sloctl/internal.BuildVersion=v0.0.98'" for flag -ldflags: parameter may not start with quote character '

@n9-machine-user n9-machine-user added bug Something isn't working patch labels Feb 7, 2024
@nieomylnieja nieomylnieja merged commit 318e186 into main Feb 7, 2024
5 checks passed
@nieomylnieja nieomylnieja deleted the fix-docker-build-workflow branch February 7, 2024 09:19
BSski pushed a commit that referenced this pull request May 7, 2024
## Motivation

`LDFLAGS` Docker argument should not be quoted since this causes:

```
invalid value "'-s -w -X github.com/nobl9/sloctl/internal.BuildVersion=v0.0.98'" for flag -ldflags: parameter may not start with quote character '
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants