Skip to content
Snippets Groups Projects
Commit af34f133 authored by Loránt Bugár's avatar Loránt Bugár
Browse files

Update .gitlab-ci.yml file

parent fb0556ed
No related branches found
No related tags found
No related merge requests found
......@@ -22,21 +22,21 @@ release:
- master
artifacts:
paths:
- Main/
- SDK/
expire_in: 1 week
script:
- dotnet publish -c Release -o ../Main Main/Main.csproj
- dotnet publish -c Release -o ../SDK SDK/SDK.csproj
deploy:
stage: deploy
artifacts:
paths:
- Main/
- SDK/
expire_in: 1 week
script:
- dotnet pack -c Release --version-suffix 2
- dotnet pack -c Release -p:PackageVersion=1.1.0
- dotnet nuget add source https://gitlab.twinzo.eu/api/v4/projects/189/packages/nuget/index.json -n gitlab_tDevkit -u lorant.bugar -p Yx5G3Xnp-QnVsCo4FwyJ --store-password-in-clear-text
- dotnet nuget push "Main/bin/Release/*.nupkg" --source gitlab_tDevkit
- dotnet nuget push "SDK/bin/Release/*.nupkg" --source gitlab_tDevkit
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment