reworked ci pipeline
This commit is contained in:
@@ -31,11 +31,9 @@ publish:
|
|||||||
script:
|
script:
|
||||||
- export VERSION=$(echo $CI_COMMIT_TAG | sed 's/^v//')
|
- export VERSION=$(echo $CI_COMMIT_TAG | sed 's/^v//')
|
||||||
- dotnet pack -c Release -o . /p:Version=$VERSION
|
- 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:
|
||||||
- tags
|
- tags
|
||||||
dependencies:
|
dependencies:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
variables:
|
|
||||||
NUGET_API_KEY: $NUGET_API_KEY
|
|
||||||
|
|||||||
Reference in New Issue
Block a user