1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2026-03-23 23:38:45 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
abe9c2a600 Fixed prerelease version naming 2021-12-23 20:01:56 +01:00
4c6313961b (MAJOR) Final fixes for build-scripts 2021-12-23 19:40:44 +01:00
2 changed files with 2 additions and 9 deletions

View File

@ -26,6 +26,7 @@ jobs:
uses: PaulHatch/semantic-version@v4.0.3
with:
short_tags: false
format: "${major}.${minor}.${patch}-prerelease${increment}"
- name: Restore dependencies
run: dotnet restore
- name: Build
@ -52,5 +53,3 @@ jobs:
if-no-files-found: error
- name: Nuget Push
run: dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
- name: Nuget Push Symbols
run: dotnet nuget push **\*.snupkg --skip-duplicate --symbol-api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json

View File

@ -57,10 +57,4 @@ jobs:
generate_release_notes: true
files: bin/net6.0/RGB.NET.*.dll
- name: Nuget Push
run: dotnet nuget push "bin/*.nupkg" --skip-duplicate --api-key ${NUGET_TOKEN}
env:
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
- name: Nuget Push Symbols
run: dotnet nuget push "bin/*.snupkg" --skip-duplicate --api-key ${NUGET_TOKEN}
env:
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
run: dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json