diff --git a/Taskfile.yaml b/Taskfile.yaml index 9f48f92..4f0b537 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -35,13 +35,13 @@ tasks: build-windows: desc: Build the gobs-cli project for Windows cmds: - - GOOS=windows GOARCH=amd64 go build -o {{.BIN_DIR}}/{{.PROGRAM}}_windows_amd64.exe + - GOOS=windows GOARCH=amd64 go build -ldflags "-X 'main.version=debug'" -o {{.BIN_DIR}}/{{.PROGRAM}}_windows_amd64.exe internal: true build-linux: desc: Build the gobs-cli project for Linux cmds: - - GOOS=linux GOARCH=amd64 go build -o {{.BIN_DIR}}/{{.PROGRAM}}_linux_amd64 + - GOOS=linux GOARCH=amd64 go build -ldflags "-X 'main.version=debug'" -o {{.BIN_DIR}}/{{.PROGRAM}}_linux_amd64 internal: true test: