Skip to content

Commit a7c74e8

Browse files
author
Adrian Hall
committed
(#195) Second attempt at fixing replacement.
1 parent 418eb0e commit a7c74e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Generate csproj
5353
working-directory: templates/Template.DatasyncServer
5454
run: |
55-
(Get-Content -path "Template.DatasyncServer.csproj.template") -replace "${NUGET_VERSION}", $BUILD_VERSION | Set-Content -Path "./Template.DatasyncServer.csproj"
55+
(Get-Content -path "Template.DatasyncServer.csproj.template") -replace "{NUGET_VERSION}", $BUILD_VERSION | Set-Content -Path "./Template.DatasyncServer.csproj"
5656
shell: pwsh
5757

5858
- name: Build template

templates/Template.DatasyncServer/Template.DatasyncServer.csproj.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="CommunityToolkit.Datasync.Server" Version="${NUGET_VERSION}" />
12-
<PackageReference Include="CommunityToolkit.Datasync.Server.EntityFrameworkCore" Version="${NUGET_VERSION}" />
11+
<PackageReference Include="CommunityToolkit.Datasync.Server" Version="{NUGET_VERSION}" />
12+
<PackageReference Include="CommunityToolkit.Datasync.Server.EntityFrameworkCore" Version="{NUGET_VERSION}" />
1313
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.1" />
1414
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.1">
1515
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)