Skip to content

Commit a16df0f

Browse files
c sharp server.
1 parent 417d15b commit a16df0f

5 files changed

Lines changed: 6 additions & 8 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dependencies: # Install dependencies needed to build and test the project @Pipel
1111
# TODO: Implement installation of your project dependencies
1212

1313
build: # Build the project artefact @Pipeline
14+
(cd server && make build)
1415
(cd sdk && make build)
1516
(cd docs && make build)
1617

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.104213+0367438
1+
version: 0.2.0-20250704.123517+417d15b

server/Makefile

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

55
build: version # Build the project artefact @Pipeline
6-
VER=$$(cat .version) && ./generate-cs-server.sh --buildver=$$VER
6+
VER=$$(cat .version) && ./generate-cs-server.sh $$VER
77

88
clean: # Clean-up project resources (main) @Operations
99
rm -rf */

server/_config.version.yml

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

server/generate-cs-server.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
VERSION=${1:-"$(cat .version)"}
55

6-
generate () {
6+
generate (){
77
set -x
8+
echo $SHORT_VERSION
89
docker run \
910
--rm \
1011
--user $(id -u) \
1112
-v ${PWD}/../:/local \
12-
-e VERSION="$SHORT_VERSION" \
1313
openapitools/openapi-generator-cli \
1414
generate \
1515
-i /local/specification/api/notify-supplier.yml \
@@ -38,8 +38,6 @@ generate_nuget_version(){
3838
}
3939

4040
pack(){
41-
42-
4341
generate_nuget_version
4442

4543
dotnet \
@@ -48,7 +46,6 @@ pack(){
4846
/p:Version=${TEST_NUGET_VERSION} \
4947
--no-build \
5048
--output sdk/csharp
51-
5249
}
5350

5451
prepare(){

0 commit comments

Comments
 (0)