Skip to content

Commit 61ad067

Browse files
authored
Merge pull request #33 from per1234/ldflags-syntax
Strip newline from Go build task's LDFLAGS value
2 parents 6cfd4bc + 561361d commit 61ad067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow-templates/assets/release-go-task/Taskfile.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ vars:
1818
TAG:
1919
sh: echo "`git tag --points-at=HEAD 2> /dev/null | head -n1`"
2020
VERSION: "{{ if .NIGHTLY }}nightly-{{ .TIMESTAMP_SHORT }}{{ else if .TAG }}{{ .TAG }}{{ else }}{{ .PACKAGE_NAME_PREFIX }}git-snapshot{{ end }}"
21-
LDFLAGS: >
21+
LDFLAGS: >-
2222
-ldflags
2323
'
2424
-X github.com/arduino/arduino-cli/version.versionString={{.VERSION}}

0 commit comments

Comments
 (0)