File tree 4 files changed +2051
-17209
lines changed
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
2
2
3
3
COPY ./ui /home/node/ui
4
4
Original file line number Diff line number Diff line change @@ -10,9 +10,10 @@ TEST_CMD_COV = ${TEST_CMD} -covermode=count -coverprofile=coverage.out
10
10
11
11
SOURCE_FILES = $(shell find ./ -type f -name "* .go" | grep -v _test.go)
12
12
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
16
17
endif
17
18
18
19
LAST_COMMIT := $(shell git rev-parse HEAD)
@@ -54,7 +55,7 @@ release:
54
55
55
56
release-utask-lib :
56
57
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
58
59
npm publish ui/dashboard/dist/utask-lib --access public
59
60
60
61
test :
You can’t perform that action at this time.
0 commit comments