Command-line interface
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
2024-10-21 14:32:56 +02:00
parent 16e5e51741
commit cb356d9b6c
5 changed files with 279 additions and 0 deletions

View File

@@ -26,6 +26,9 @@ steps:
# Re-pack
- rm DllExports.MSBuild/bin/Release/IvDllExports.0.1.1.nupkg
- (cd DllExports.MSBuild/bin/Release/nupkg; zip -r ../IvDllExports.0.1.1.nupkg ./)
# Cli
- dotnet build --configuration Release DllExports.Cli/DllExports.Cli.csproj
- dotnet pack --configuration Release DllExports.Cli/DllExports.Cli.csproj
- name: release
image: mcr.microsoft.com/dotnet/sdk:8.0
@@ -35,5 +38,6 @@ steps:
nuget_uri: https://git.ivasoft.cz/api/packages/Ivasoft/nuget/index.json
commands:
- dotnet nuget push DllExports.MSBuild/bin/Release/IvDllExports.0.1.1.nupkg --api-key $$PLUGIN_NUGET_APIKEY --source $$PLUGIN_NUGET_URI --skip-duplicate
- dotnet nuget push DllExports.Cli/bin/Release/IvDllExports-Cli.0.1.1.nupkg --api-key $$PLUGIN_NUGET_APIKEY --source $$PLUGIN_NUGET_URI --skip-duplicate
when:
event: tag