Skip to content

Commit e1b28f9

Browse files
committed
Merge branch 'stable'
2 parents 3fe6868 + b75f756 commit e1b28f9

5 files changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/docs-deploy.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,17 @@ jobs:
3838
uses: dotnet/nbgv@v0.4.0
3939
with:
4040
setAllVars: true
41-
41+
42+
- name: 🛠️ Get Changelog Entry
43+
id: changelog_reader
44+
uses: mindsers/changelog-reader-action@v2
45+
with:
46+
path: ./CHANGELOG.md
47+
4248
- name: 🛠️ Update tokens in project files
4349
uses: cschleiden/replace-tokens@v1
50+
env:
51+
RELEASE-VERSION: ${{ steps.changelog_reader.outputs.version }}
4452
with:
4553
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/*.tmpl.partial", "*.csproj", "**/*.csproj"]'
4654

@@ -71,11 +79,11 @@ jobs:
7179
with:
7280
build_dir: docs/site/_site
7381
fqdn: bunit.dev
74-
repo: https://github.com/bUnit-dev/bUnit-dev.github.io
82+
repo: bUnit-dev/bUnit-dev.github.io
7583
target_branch: main
7684
keep_history: false
7785
jekyll: false
7886
committer: "bUnit bot <bot@bunit.dev>"
7987
env:
8088
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81-
GH_PAT: ${{ secret.BUNIT_BOT_TOKEN }}
89+
GH_PAT: ${{ secrets.BUNIT_BOT_TOKEN }}

docs/site/.nojekyll

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/site/CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/site/docs/getting-started/create-test-project.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The result should be a test project with a `.csproj` that looks like this (non b
9898
</PropertyGroup>
9999

100100
<ItemGroup>
101-
<PackageReference Include="bunit" Version="#{NBGV_NuGetPackageVersion}#" />
101+
<PackageReference Include="bunit" Version="#{RELEASE-VERSION}#" />
102102
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
103103
<PackageReference Include="xunit" Version="2.4.1" />
104104
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
@@ -124,7 +124,7 @@ The result should be a test project with a `.csproj` that looks like this (non b
124124
</PropertyGroup>
125125

126126
<ItemGroup>
127-
<PackageReference Include="bunit" Version="#{NBGV_NuGetPackageVersion}#" />
127+
<PackageReference Include="bunit" Version="#{RELEASE-VERSION}#" />
128128
<PackageReference Include="nunit" Version="3.12.0" />
129129
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
130130
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1">
@@ -150,7 +150,7 @@ The result should be a test project with a `.csproj` that looks like this (non b
150150
</PropertyGroup>
151151

152152
<ItemGroup>
153-
<PackageReference Include="bunit" Version="#{NBGV_NuGetPackageVersion}#" />
153+
<PackageReference Include="bunit" Version="#{RELEASE-VERSION}#" />
154154
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
155155
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0" />
156156
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "1.1-preview",
3+
"version": "1.0",
44
"assemblyVersion": {
55
"precision": "revision"
66
},

0 commit comments

Comments
 (0)