Skip to content

Commit d4088ef

Browse files
version file not in libs on github.
1 parent 61e227c commit d4088ef

File tree

3 files changed

+34
-26
lines changed

3 files changed

+34
-26
lines changed

src/server/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SHELL = /bin/bash
55

66
build: version #VER=$$(cat .version) # Build the project artefact @Pipeline
77
VER=$$(cat .version) && \
8-
echo $$VER
8+
echo $$VER && \
99
./build.sh $$VER
1010

1111
version:

src/server/_config.version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 0.2.0-20250708.154445+f446af3
1+
version: 0.2.0-20250708.155535+61e227c

src/server/build.sh

Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,38 +21,46 @@ generate_nuget_version(){
2121
generate_nuget_version
2222

2323
echo "Building Abstractions."
24-
cd abstractions && \
25-
cp ../.version . && \
26-
dotnet restore && \
27-
dotnet build --no-restore --configuration=Release && \
28-
dotnet publish --no-restore --configuration=Release /p:Version=${TEST_NUGET_VERSION} && \
29-
dotnet pack --configuration Release /p:Version=${TEST_NUGET_VERSION} --no-build && \
24+
cd abstractions
25+
cp ../.version .
26+
ls -la
27+
dotnet clean
28+
dotnet restore
29+
dotnet build --no-restore --configuration=Release
30+
dotnet publish --no-restore --configuration=Release /p:Version=${TEST_NUGET_VERSION}
31+
dotnet pack --configuration Release /p:Version=${TEST_NUGET_VERSION} --no-build
3032
cd ..
3133

3234

3335
echo "Building Data."
34-
cd data && \
35-
cp ../.version . && \
36-
dotnet restore && \
37-
dotnet build --no-restore --configuration=Release && \
38-
dotnet publish --no-restore --no-build --configuration=Release /p:Version=${TEST_NUGET_VERSION} && \
39-
dotnet pack --configuration Release /p:Version=${TEST_NUGET_VERSION} --no-build && \
36+
cd data
37+
cp ../.version .
38+
ls -la
39+
dotnet clean
40+
dotnet restore
41+
dotnet build --no-restore --configuration=Release
42+
dotnet publish --no-restore --no-build --configuration=Release /p:Version=${TEST_NUGET_VERSION}
43+
dotnet pack --configuration Release /p:Version=${TEST_NUGET_VERSION} --no-build
4044
cd ..
4145

4246
echo "Building Letter."
43-
cd letter && \
44-
cp ../.version . && \
45-
dotnet restore && \
46-
dotnet build --no-restore --configuration=Release && \
47-
dotnet publish --no-restore --no-build --configuration=Release /p:Version=${TEST_NUGET_VERSION} && \
48-
dotnet pack --configuration Release /p:Version=${TEST_NUGET_VERSION} --no-build && \
47+
cd letter
48+
cp ../.version .
49+
ls -la
50+
dotnet clean
51+
dotnet restore
52+
dotnet build --no-restore --configuration=Release
53+
dotnet publish --no-restore --no-build --configuration=Release /p:Version=${TEST_NUGET_VERSION}
54+
dotnet pack --configuration Release /p:Version=${TEST_NUGET_VERSION} --no-build
4955
cd ..
5056

5157
echo "Building Host."
52-
cd host && \
53-
cp ../.version . && \
54-
dotnet restore && \
55-
dotnet build --no-restore --configuration=Release && \
56-
dotnet publish --no-restore --no-build --configuration=Release /p:Version=${TEST_NUGET_VERSION} && \
57-
dotnet pack --configuration Release /p:Version=${TEST_NUGET_VERSION} --no-build && \
58+
cd host
59+
cp ../.version .
60+
ls -la
61+
dotnet clean
62+
dotnet restore
63+
dotnet build --no-restore --configuration=Release
64+
dotnet publish --no-restore --no-build --configuration=Release /p:Version=${TEST_NUGET_VERSION}
65+
dotnet pack --configuration Release /p:Version=${TEST_NUGET_VERSION} --no-build
5866
cd ..

0 commit comments

Comments
 (0)