Updated ci pipeline

This commit is contained in:
2024-12-22 19:23:22 +01:00
parent a7d2f8031e
commit 1ede337565
2 changed files with 5 additions and 3 deletions

View File

@@ -26,9 +26,10 @@ test:
publish: publish:
stage: publish stage: publish
script: script:
- dotnet pack -c Release -o . - export VERSION=$(echo $CI_COMMIT_TAG | sed 's/^v//')
- dotnet pack -c Release -o . /p:Version=$VERSION
- for nupkg in *.nupkg; do dotnet nuget push $nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json; done - for nupkg in *.nupkg; do dotnet nuget push $nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json; done
only: only:
- main - tags
variables: variables:
NUGET_API_KEY: $NUGET_API_KEY NUGET_API_KEY: $NUGET_API_KEY

View File

@@ -79,6 +79,7 @@
</wpf:ResourceDictionary> </wpf:ResourceDictionary>