File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed
Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ VERSION ?= ""
33SHELL = /bin/bash
44
55build : version # Build the project artefact @Pipeline
6- cd .. && npm run build && cd sdk
6+ echo " HELLO"
7+ cat ../.version
8+ echo " $$ (cat ../.version)"
9+ cd .. && npm run build -- " $$ (cat .version)" && cd sdk
710 ./swagger-static.sh
811
912clean : # Clean-up project resources (main) @Operations
Original file line number Diff line number Diff line change 1- version : 0.2.0-20250704.065308+4d8cfb8
1+ version : 0.2.0-20250704.094954+41d922e
Original file line number Diff line number Diff line change 11#! /bin/sh
22# run this from directory above, or with npm run generate:ts from parent directory.
33
4+ VERSION=${1:- " $( cat .version) " }
45
56generate () {
67 set -x
@@ -51,8 +52,6 @@ pack(){
5152}
5253prepare (){
5354 mkdir -p sdk/csharp
54-
55- VERSION=" $( cat .version) "
5655 echo $VERSION
5756
5857 SHORT_VERSION=" $( echo $VERSION | rev | cut -d" ." -f2- | rev) "
@@ -62,14 +61,8 @@ prepare(){
6261 echo $NUGET_VERSION
6362}
6463
64+ echo $VERSION
6565prepare
6666generate
6767build
6868pack
69-
70- # sed -i -e 's|https://github.com/GIT_USER_ID/GIT_REPO_ID.git|https://github.com/NHSDigital/nhs-notify-supplier-api.git|g' ./sdk/typescript/package.json
71-
72- # sed -i -e 's|OpenAPI client for nhsnotifysupplier|NHS Notify Supplier SDK|g' ./sdk/typescript/package.json
73- # sed -i -e 's|OpenAPI-Generator Contributors|NHS Notify|g' ./sdk/typescript/package.json
74-
75- # echo $VERSION
You can’t perform that action at this time.
0 commit comments