打印版本号
This commit is contained in:
parent
1f3365c942
commit
c18594ad46
|
@ -32,7 +32,7 @@ jobs:
|
|||
- name: Build binary file
|
||||
run: |
|
||||
|
||||
export LD_FLAGS="-w -s -X main.VERSION=$env.RELEASE_VERSION"
|
||||
export LD_FLAGS="-w -s -X main.VERSION=${GITHUB_REF:10}"
|
||||
go mod tidy
|
||||
go build -o "output/study_xxqg" -trimpath -ldflags "$LD_FLAGS" ./
|
||||
|
||||
|
|
Loading…
Reference in New Issue