Skip to content

Commit f7f30a6

Browse files
Set VERSION on the sdk make build from the workflow so .version file is NOT regenerated.
1 parent 9f46d94 commit f7f30a6

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

sdk/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@ VERSION ?= ""
33
SHELL = /bin/bash
44

55
build: version # Build the project artefact @Pipeline
6-
echo "HELLO"
7-
cat ../.version
8-
echo "$$(cat ../.version)"
9-
cd .. && npm run build -- "$$(cat .version)" && cd sdk
6+
VER=$$(cat .version) && cd .. && npm run build -- $$VER && cd sdk
107
./swagger-static.sh
118

129
clean: # Clean-up project resources (main) @Operations
1310
rm -rf */
14-
1511
swagger:
1612
./swagger.sh
1713

sdk/_config.version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 0.2.0-20250704.094954+41d922e
1+
version: 1.1.1-1.1

0 commit comments

Comments
 (0)