Skip to content

Commit 8af20d2

Browse files
committed
chlog
1 parent 3b2edab commit 8af20d2

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

.github/workflows/release-nuget.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,17 @@ jobs:
2626
Set-Content -Path README.md -Value $content
2727
2828
29-
- name: Check version consistency of git tag and CHANGELOG.md
29+
# publish net 10 with no suffix
30+
- name: Set target framework to net10 in FeshHosting.fsproj
31+
run: |
32+
$projFile = Get-Content -Path FeshHosting.fsproj -Raw
33+
$projFile = $projFile -replace "<TargetFramework>.*?</TargetFramework>", "<TargetFramework>net10.0-windows</TargetFramework>"
34+
Set-Content -Path FeshHosting.fsproj -Value $projFile
35+
36+
- name: Dotnet build FeshHosting for net10
37+
run: dotnet build FeshHosting.fsproj --configuration Release --output bin/publishNuget
38+
39+
- name: Check version consistency of git tag and CHANGELOG.md after build
3040
# needs in fsproj:
3141
# <Target Name="WriteChangelogVersion" AfterTargets="AfterBuild"><!-- for version checks in github tag based builds -->
3242
# <WriteLinesToFile File="./bin/ChangelogVersion.txt" Lines="@(CurrentReleaseChangelog)" Overwrite="true" ContinueOnError="false" />
@@ -41,19 +51,8 @@ jobs:
4151
fi
4252
echo "CHANGELOG_VERSION=$CHANGELOG_VERSION"
4353
echo "github.ref_name=${{ github.ref_name }}"
44-
echo "Version check of git tag and CHANGELOG.md passed successfully."
45-
54+
echo "Version check of git tag and CHANGELOG.md passed successfully."
4655
47-
48-
# publish net 10 with no suffix
49-
- name: Set target framework to net10 in FeshHosting.fsproj
50-
run: |
51-
$projFile = Get-Content -Path FeshHosting.fsproj -Raw
52-
$projFile = $projFile -replace "<TargetFramework>.*?</TargetFramework>", "<TargetFramework>net10.0-windows</TargetFramework>"
53-
Set-Content -Path FeshHosting.fsproj -Value $projFile
54-
55-
- name: Dotnet build FeshHosting for net10
56-
run: dotnet build FeshHosting.fsproj --configuration Release --output bin/publishNuget
5756

5857
- name: Push net10 NuGet package to nuget.org without suffix
5958
run: |

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
154154
### Added
155155
- first public release
156156

157-
[Unreleased]: https://github.com/goswinr/Fesh/compare/0.29.2...HEAD
157+
[Unreleased]: https://github.com/goswinr/Fesh/compare/0.30.1...HEAD
158+
[0.30.1]: https://github.com/goswinr/Fesh/compare/0.29.3...0.30.1
159+
[0.29.3]: https://github.com/goswinr/Fesh/compare/0.29.2...0.29.3
158160
[0.29.2]: https://github.com/goswinr/Fesh/compare/0.29.0...0.29.2
159161
[0.29.0]: https://github.com/goswinr/Fesh/compare/0.28.1...0.29.0
160162
[0.28.1]: https://github.com/goswinr/Fesh/compare/0.28.0...0.28.1

0 commit comments

Comments
 (0)