Skip to content

Commit

Permalink
ci: fix trial 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jeiea committed Aug 28, 2023
1 parent dbbf78e commit 7bb0b2f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Publish & Create tag
run: |
version="$(nbgv get-version -v SimpleVersion)$(nbgv get-version -v PrereleaseVersion)"
[ $(git tag -l v$version) ] || (
dotnet pack --include-source --configuration Release -p:Version=$version
&& dotnet nuget push ObsStrawket/bin/Release/*.symbols.nupkg
--api-key ${{ secrets.NUGET_API_KEY }}
--source https://api.nuget.org/v3/index.json
&& nbgv tag
&& git push origin v$version
[ $(git tag -l v$version) ] || ( \
dotnet pack --include-source --configuration Release -p:Version=$version \
&& dotnet nuget push ObsStrawket/bin/Release/*.symbols.nupkg \
--api-key ${{ secrets.NUGET_API_KEY }} \
--source https://api.nuget.org/v3/index.json \
&& nbgv tag \
&& git push origin v$version \
)

0 comments on commit 7bb0b2f

Please sign in to comment.