Skip to content

Add ldflags to build to set version.#32

Merged
jharshman merged 1 commit into
masterfrom
taskfile-build-ldflags
Jan 28, 2026
Merged

Add ldflags to build to set version.#32
jharshman merged 1 commit into
masterfrom
taskfile-build-ldflags

Conversation

@jharshman

Copy link
Copy Markdown
Owner

Add a VERSION variable to the Taskfile and ldflags to the go build
command to set the main.version variable. This is already done on
release, but for dev builds version ends up blank.

Add a VERSION variable to the Taskfile and ldflags to the go build
command to set the main.version variable. This is already done on
release, but for dev builds version ends up blank.
@jharshman jharshman force-pushed the taskfile-build-ldflags branch from a5c8492 to 407444f Compare January 28, 2026 23:35
@jharshman jharshman merged commit c2959cb into master Jan 28, 2026
2 checks passed
@jharshman jharshman deleted the taskfile-build-ldflags branch February 1, 2026 23:25
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.

1 participant