Skip to content

Commit da0a2f7

Browse files
authored
Merge pull request #14 from jupre003/develop
v1.1.1
2 parents 1ed129c + aedd586 commit da0a2f7

4 files changed

Lines changed: 48 additions & 10 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish Docs to Wiki
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'docs/**'
8+
workflow_dispatch:
9+
10+
jobs:
11+
publish-wiki:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Publish /docs to GitHub Wiki
18+
uses: SwiftDocOrg/github-wiki-publish-action@v1
19+
with:
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
path: docs
22+
# Optional: keep history tidy
23+
commit_message: 'docs: publish to wiki from /docs'
24+
# Optional: remove files not present in docs
25+
allow_empty_commit: false

.github/workflows/Release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ jobs:
1919
run: dotnet restore MbSoftLab.TemplateEngine.Core.sln
2020
- name: Build
2121
run: dotnet build MbSoftLab.TemplateEngine.Core.sln --configuration Release --no-restore
22-
- name: Pack
23-
run: dotnet pack MbSoftLab.TemplateEngine.Core/MbSoftLab.TemplateEngine.Core.csproj --configuration Release --no-restore -o ./artifacts
22+
- name: Pack Core and Razor projects
23+
run: |
24+
mkdir artifacts
25+
dotnet pack MbSoftLab.TemplateEngine.Core/MbSoftLab.TemplateEngine.Core.csproj --configuration Release --no-restore -o ./artifacts
26+
dotnet pack MbSoftLab.TemplateEngine.Core.Razor/MbSoftLab.TemplateEngine.Core.Razor.csproj --configuration Release --no-restore -o ./artifacts
2427
- name: Push to NuGet
2528
run: dotnet nuget push ./artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

MbSoftLab.TemplateEngine.Core.Razor/MbSoftLab.TemplateEngine.Core.Razor.csproj

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
5-
<AssemblyVersion>1.1.0.0</AssemblyVersion>
6-
<FileVersion>1.1.0.0</FileVersion>
7-
<Version>1.1.0</Version>
8-
<PackageVersion>1.1.0-preview</PackageVersion>
5+
<AssemblyVersion>1.1.1.0</AssemblyVersion>
6+
<FileVersion>1.1.1.0</FileVersion>
7+
<Version>1.1.1</Version>
8+
<PackageVersion>1.1.1</PackageVersion>
99
<Description>Razor-enabled extension for MbSoftLab.TemplateEngine.Core providing RazorTemplateEngine.</Description>
1010
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1111
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
@@ -16,6 +16,7 @@
1616
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1717
<Copyright>© 2021 - 2025 MbSoftLab</Copyright>
1818
<PackageIcon>MbSoftLabLogo.png</PackageIcon>
19+
<PackageReadmeFile>README.md</PackageReadmeFile>
1920
<PackageProjectUrl>https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</PackageProjectUrl>
2021
<RepositoryUrl>https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</RepositoryUrl>
2122
<RepositoryType>Git</RepositoryType>
@@ -32,6 +33,10 @@
3233
<Pack>True</Pack>
3334
<PackagePath></PackagePath>
3435
</None>
36+
<None Include="README.md">
37+
<Pack>True</Pack>
38+
<PackagePath>\</PackagePath>
39+
</None>
3540
</ItemGroup>
3641

3742
</Project>

MbSoftLab.TemplateEngine.Core/MbSoftLab.TemplateEngine.Core.csproj

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
5-
<AssemblyVersion>1.1.0.0</AssemblyVersion>
6-
<FileVersion>1.1.0.0</FileVersion>
7-
<Version>1.1.0</Version>
8-
<PackageVersion>1.1.0-preview</PackageVersion>
5+
<AssemblyVersion>1.1.1.0</AssemblyVersion>
6+
<FileVersion>1.1.1.0</FileVersion>
7+
<Version>1.1.1</Version>
8+
<PackageVersion>1.1.1</PackageVersion>
99
<Description>This TemplateEngine can replace values from Classpropertys and methods in simple stringtemplates with a very good performance. The Engine supports the RazorLanguage for creating complex html templates.</Description>
1010
<DocumentationFile>Documentation.xml</DocumentationFile>
1111
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
@@ -17,6 +17,7 @@
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1818
<Copyright>© 2021 - 2025 MbSoftLab</Copyright>
1919
<PackageIcon>MbSoftLabLogo.png</PackageIcon>
20+
<PackageReadmeFile>README.md</PackageReadmeFile>
2021
<PackageIconUrl />
2122
<PackageProjectUrl>https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</PackageProjectUrl>
2223
<RepositoryUrl>https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</RepositoryUrl>
@@ -28,6 +29,10 @@
2829
<Pack>True</Pack>
2930
<PackagePath></PackagePath>
3031
</None>
32+
<None Include="..\README.md" Link="README.md">
33+
<Pack>True</Pack>
34+
<PackagePath>\</PackagePath>
35+
</None>
3136
</ItemGroup>
3237

3338
<ItemGroup>

0 commit comments

Comments
 (0)