Skip to content

Commit 1ffdca4

Browse files
committed
build: use immediate assignment for VERSION_DEV and other vars
1 parent c6dba4d commit 1ffdca4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
2-
BUILDDATE ?= $(shell date -u +%FT%T%z)
3-
BUILDTS ?= $(shell date -u +%s)
4-
REVISION ?= $(shell git rev-parse HEAD)
5-
VERSION_DEV ?= 0.4.8-dev$(shell date +%Y%m%d%H%M)
6-
VERSION ?= 0.4.7
1+
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
2+
BUILDDATE := $(shell date -u +%FT%T%z)
3+
BUILDTS := $(shell date -u +%s)
4+
REVISION := $(shell git rev-parse HEAD)
5+
VERSION_DEV := 0.4.8-dev$(shell date +%Y%m%d%H%M)
6+
VERSION := 0.4.7
77

88
PROMETHEUS_TAG := github.com/prometheus/common/version
99
KVM_PKG_NAME := github.com/jetkvm/kvm
@@ -80,7 +80,7 @@ frontend:
8080
-exec sh -c 'gzip -9 -kfv {}' \;
8181

8282
dev_release: frontend build_dev
83-
@echo "Uploading release..."
83+
@echo "Uploading release... $(VERSION_DEV)"
8484
@shasum -a 256 bin/jetkvm_app | cut -d ' ' -f 1 > bin/jetkvm_app.sha256
8585
rclone copyto bin/jetkvm_app r2://jetkvm-update/app/$(VERSION_DEV)/jetkvm_app
8686
rclone copyto bin/jetkvm_app.sha256 r2://jetkvm-update/app/$(VERSION_DEV)/jetkvm_app.sha256

0 commit comments

Comments
 (0)