Add pack script; drop beta tag

This commit is contained in:
Daniel J. Summers 2024-06-18 19:38:28 -04:00
parent 541384a92f
commit a2960a79c6
3 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
.idea
*.user
.vscode
src/*.nupkg

View File

@ -12,6 +12,6 @@
<RepositoryType>Git</RepositoryType>
<Copyright>MIT License</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>Giraffe htmx beta</PackageTags>
<PackageTags>Giraffe htmx</PackageTags>
</PropertyGroup>
</Project>

7
src/pack.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
dotnet pack Common/Giraffe.Htmx.Common.fsproj -c Release
dotnet pack Htmx/Giraffe.Htmx.fsproj -c Release
dotnet pack ViewEngine.Htmx/Giraffe.ViewEngine.Htmx.fsproj -c Release
cp Common/bin/Release/Giraffe.Htmx.Common.*.nupkg .
cp Htmx/bin/Release/Giraffe.Htmx.*.nupkg .
cp ViewEngine.Htmx/bin/Release/Giraffe.ViewEngine.Htmx.*.nupkg .