Skip to content

Commit 6532a46

Browse files
committed
Merge branch 'fix-win-versioning' into 'master'
Fixing version setting env var. See merge request centerorbit/depcharge!45
2 parents bff7595 + e487548 commit 6532a46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ build-win:
101101
GOARCH: "amd64"
102102
script:
103103
- export GOPATH=$(pwd)
104-
- set /p VERSION=<VERSION.txt
104+
- export VERSION=$(cat VERSION.txt)
105105
- go build -a -ldflags="-w -s -X main.version=$VERSION" .
106106
artifacts:
107107
expire_in: 1 week

0 commit comments

Comments
 (0)