@@ -21,38 +21,46 @@ generate_nuget_version(){
2121generate_nuget_version
2222
2323echo " 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
3032cd ..
3133
3234
3335echo " 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
4044cd ..
4145
4246echo " 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
4955cd ..
5056
5157echo " 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
5866cd ..
0 commit comments