Skip to content

Commit 61e227c

Browse files
version copy to abstract folder.
1 parent f446af3 commit 61e227c

File tree

6 files changed

+13
-15
lines changed

6 files changed

+13
-15
lines changed

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.142439+ca74a4e
1+
version: 0.2.0-20250708.154445+f446af3

src/server/abstractions/abstractions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.6" />
1919
</ItemGroup>
2020
<ItemGroup>
21-
<Content Include="../.version">
21+
<Content Include=".version">
2222
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
2323
</Content>
2424
</ItemGroup>

src/server/build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,37 @@ generate_nuget_version(){
2020

2121
generate_nuget_version
2222

23+
echo "Building Abstractions."
2324
cd abstractions && \
25+
cp ../.version . && \
2426
dotnet restore && \
2527
dotnet build --no-restore --configuration=Release && \
2628
dotnet publish --no-restore --configuration=Release /p:Version=${TEST_NUGET_VERSION} && \
2729
dotnet pack --configuration Release /p:Version=${TEST_NUGET_VERSION} --no-build && \
2830
cd ..
2931

3032

33+
echo "Building Data."
3134
cd data && \
35+
cp ../.version . && \
3236
dotnet restore && \
3337
dotnet build --no-restore --configuration=Release && \
3438
dotnet publish --no-restore --no-build --configuration=Release /p:Version=${TEST_NUGET_VERSION} && \
3539
dotnet pack --configuration Release /p:Version=${TEST_NUGET_VERSION} --no-build && \
3640
cd ..
3741

42+
echo "Building Letter."
3843
cd letter && \
44+
cp ../.version . && \
3945
dotnet restore && \
4046
dotnet build --no-restore --configuration=Release && \
4147
dotnet publish --no-restore --no-build --configuration=Release /p:Version=${TEST_NUGET_VERSION} && \
4248
dotnet pack --configuration Release /p:Version=${TEST_NUGET_VERSION} --no-build && \
4349
cd ..
4450

51+
echo "Building Host."
4552
cd host && \
53+
cp ../.version . && \
4654
dotnet restore && \
4755
dotnet build --no-restore --configuration=Release && \
4856
dotnet publish --no-restore --no-build --configuration=Release /p:Version=${TEST_NUGET_VERSION} && \

src/server/data/data.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,5 @@
2020
<ItemGroup>
2121
<ProjectReference Include="..\abstractions\abstractions.csproj" />
2222
</ItemGroup>
23-
<ItemGroup>
24-
<Content Include="../.version">
25-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
26-
</Content>
27-
</ItemGroup>
23+
2824
</Project>

src/server/host/host.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
<Content Include="run.sh">
2525
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
2626
</Content>
27-
<Content Include="../.version">
28-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
29-
</Content>
27+
3028

3129
<Content Update="appsettings.*.json" CopyToPublishDirectory="Never" />
3230
<Content Update="appsettings.json" CopyToPublishDirectory="Never" />

src/server/letter/letter.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,5 @@
1818
<ItemGroup>
1919
<ProjectReference Include="..\abstractions\abstractions.csproj" />
2020
</ItemGroup>
21-
<ItemGroup>
22-
<Content Include="../.version">
23-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
24-
</Content>
25-
</ItemGroup>
21+
2622
</Project>

0 commit comments

Comments
 (0)