mycroforge/MycroForge.Core/scripts/publish-nuget.sh
mdnapo 33ba944f8a
All checks were successful
Test MycroForge.CLI / test (push) Successful in 2m23s
Updated scripts
2024-10-13 18:12:04 +02:00

6 lines
240 B
Bash
Executable File

#!/bin/bash
VERSION=$(grep '<Version>' < MycroForge.Core.csproj | sed 's/.*<Version>\(.*\)<\/Version>/\1/' | tr -d '[:space:]')
dotnet build -r Releasedo
dotnet nuget push --source devdisciples "bin/Release/MycroForge.Core.$VERSION.nupkg"