CI: Remove " around version
This commit is contained in:
parent
8ebeb11b74
commit
912f3265ae
@ -28,7 +28,7 @@ steps:
|
|||||||
- apk --no-cache add alsa-lib-dev build-base git pkgconf
|
- apk --no-cache add alsa-lib-dev build-base git pkgconf
|
||||||
- go get -v -d
|
- go get -v -d
|
||||||
- go vet -v
|
- go vet -v
|
||||||
- go build -v -ldflags '-w -X main.Version="${DRONE_BRANCH}-${DRONE_COMMIT}" -X main.build=${DRONE_BUILD_NUMBER}' -o deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
- go build -v -ldflags '-w -X main.Version=${DRONE_BRANCH}-${DRONE_COMMIT} -X main.build=${DRONE_BUILD_NUMBER}' -o deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
- ln deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} reveil
|
- ln deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} reveil
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
@ -41,7 +41,7 @@ steps:
|
|||||||
- apk --no-cache add alsa-lib-dev build-base git pkgconf
|
- apk --no-cache add alsa-lib-dev build-base git pkgconf
|
||||||
- go get -v -d
|
- go get -v -d
|
||||||
- go vet -v
|
- go vet -v
|
||||||
- go build -v -ldflags '-w -X main.Version="${DRONE_TAG##v}" -X main.build=${DRONE_BUILD_NUMBER}' -o deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
- go build -v -ldflags '-w -X main.Version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -o deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
- ln deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} reveil
|
- ln deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} reveil
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
|
Loading…
Reference in New Issue
Block a user