Skip to content

Commit

Permalink
Update pre-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaabreu committed Sep 30, 2020
1 parent c8c0af0 commit 3d51cac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Test with dotnet
run: dotnet test --no-restore
- name: Pack with dotnet
run: dotnet pack -c Release -p:Version=${{ steps.gitversion.outputs.nuGetVersionV2 }}.${{ steps.gitversion.outputs.CommitsSinceVersionSource }} --no-restore -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output nuget-packages
run: dotnet pack -c Release -p:Version=${{ steps.gitversion.outputs.nuGetVersionV2 }}-alpha.${{ steps.gitversion.outputs.CommitsSinceVersionSource }} --no-restore -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output nuget-packages
# - name: Push with dotnet
# run: dotnet nuget push nuget-packages/*.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json
- name: Archive packages
Expand All @@ -48,8 +48,8 @@ jobs:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
title: v${{ steps.gitversion.outputs.nuGetVersionV2 }}-alpha.${{ steps.gitversion.outputs.CommitsSinceVersionSource }}
files: |
LICENSE.txt
*.nupkg
*.snupkg
LICENSE
nuget-packages/*.nupkg
nuget-packages/*.snupkg

0 comments on commit 3d51cac

Please sign in to comment.