Skip to content

Commit e9980dd

Browse files
authored
ci: replace version number of preview release version
1 parent 4e0334e commit e9980dd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
with:
6868
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/*.tmpl.partial", "*.csproj", "**/*.csproj", "src/Directory.Build.props"]'
6969
env:
70-
RELEASE_VERSION: ${{ env.NBGV_NuGetPackageVersion }}
70+
RELEASE_VERSION: ${{ NBGV_SimpleVersion }}${{ NBGV_PrereleaseVersion }}
7171
RELEASE_NOTES: ${{ steps.changelog_reader.outputs.changes }}
7272

7373
# Create the NuGet package in the folder from the environment variable NuGetDirectory
@@ -218,7 +218,10 @@ jobs:
218218
- name: 🍥 Replace tokens in files
219219
uses: cschleiden/replace-tokens@v1
220220
with:
221-
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/*.tmpl.partial", "*.csproj", "**/*.csproj"]'
221+
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/*.tmpl.partial", "*.csproj", "**/*.csproj", "src/Directory.Build.props"]'
222+
env:
223+
RELEASE_VERSION: ${{ NBGV_SimpleVersion }}${{ NBGV_PrereleaseVersion }}
224+
RELEASE_NOTES: ${{ steps.changelog_reader.outputs.changes }}
222225

223226
- name: 📄 Build bUnit
224227
run: dotnet build -c release

0 commit comments

Comments
 (0)