Skip to content

Commit 1e6767f

Browse files
committed
Fix release version
1 parent a0c4887 commit 1e6767f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Taskfile.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ vars:
1010
DEFAULT_GO_PACKAGES:
1111
sh: |
1212
echo $(cd {{default .DEFAULT_GO_MODULE_PATH .GO_MODULE_PATH}} && go list ./... | tr '\n' ' ' || echo '"ERROR: Unable to discover Go packages"')
13-
# `-ldflags` flag to use for `go build` command
14-
# TODO: define flag if required by the project, or leave empty if not needed.
15-
LDFLAGS:
1613
# `-ldflags` flag to use for `go test` command
1714
# TODO: define flag if required by the project, or leave empty if not needed.
1815
TEST_LDFLAGS:
@@ -33,9 +30,9 @@ vars:
3330
LDFLAGS: >-
3431
-ldflags
3532
'
36-
-X {{.CONFIGURATION_PACKAGE}}.Version={{.VERSION}}
37-
-X {{.CONFIGURATION_PACKAGE}}.Commit={{.COMMIT}}
38-
-X {{.CONFIGURATION_PACKAGE}}.Timestamp={{.TIMESTAMP}}
33+
-X {{.CONFIGURATION_PACKAGE}}.versionString={{.VERSION}}
34+
-X {{.CONFIGURATION_PACKAGE}}.commit={{ .COMMIT }}
35+
-X {{.CONFIGURATION_PACKAGE}}.date={{.TIMESTAMP}}
3936
'
4037
4138
tasks:

0 commit comments

Comments
 (0)