Skip to content

Commit 8b66965

Browse files
committed
chore(workflow-cli): overwritten cli version
1 parent 0a68fe2 commit 8b66965

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.drone/drone.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ steps:
2323
- name: build
2424
commands:
2525
- mkdir -p $HOMEPATH/.docker; echo $IMAGE_PULL_SECRETS > $HOMEPATH/.docker/config.json
26-
- VERSION=${DRONE_TAG:-latest} make build
26+
- sed -i "s#canary#${DRONE_TAG}#g" version/version.go
27+
- VERSION=${DRONE_TAG} make build
2728
environment:
2829
DEV_REGISTRY:
2930
from_secret: dev_registry

version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ package version
22

33
// Version identifies the Drycc product revision.
44
// Note: This value is overwritten by the linker during build
5-
var Version = "v1.1.0"
5+
var Version = "canary"

0 commit comments

Comments
 (0)