File tree Expand file tree Collapse file tree 4 files changed +2051
-17209
lines changed Expand file tree Collapse file tree 4 files changed +2051
-17209
lines changed Original file line number Diff line number Diff line change 1- FROM node:18 AS js-builder
1+ FROM node:22 AS js-builder
22
33COPY ./ui /home/node/ui
44
Original file line number Diff line number Diff line change @@ -10,9 +10,10 @@ TEST_CMD_COV = ${TEST_CMD} -covermode=count -coverprofile=coverage.out
1010
1111SOURCE_FILES = $(shell find ./ -type f -name "* .go" | grep -v _test.go)
1212
13- VERSION := $(shell git describe --exact-match --abbrev=0 --tags $(git rev-list --tags --max-count=1 ) 2> /dev/null)
14- ifndef VERSION
15- VERSION = $(shell git describe --abbrev=3 --tags $(git rev-list --tags --max-count=1))-dev
13+ VERSION ?= $(shell git describe --exact-match --abbrev=0 --tags $(git rev-list --tags --max-count=1 ) 2> /dev/null)
14+
15+ ifeq ($(strip $(VERSION ) ) ,)
16+ VERSION := $(shell git describe --abbrev=3 --tags $(git rev-list --tags --max-count=1 ) ) -dev
1617endif
1718
1819LAST_COMMIT := $(shell git rev-parse HEAD)
@@ -54,7 +55,7 @@ release:
5455
5556release-utask-lib :
5657 cd ui/dashboard/projects/utask-lib && npm version $(VERSION ) --allow-same-version
57- cd ui/dashboard && npm ci && ng build --configuration production utask-lib
58+ cd ui/dashboard && npm ci && npm run ng -- build utask-lib --configuration production
5859 npm publish ui/dashboard/dist/utask-lib --access public
5960
6061test :
You can’t perform that action at this time.
0 commit comments