Skip to content

Commit

Permalink
fix(ci): include packageversion property
Browse files Browse the repository at this point in the history
  • Loading branch information
ProbablePrime committed Oct 27, 2023
1 parent 00f37e0 commit ce4659d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore /p:Version=${VERSION}
- name: CD into Library
- name: cd into Library
run: cd Elements.Quantity
- name: Pack
run: dotnet pack --output nupkgs --configuration Release /p:Version=${VERSION}
run: dotnet pack --output nupkgs --configuration Release /p:Version=${VERSION} /p:PackageVersion=${VERSION}
- name: Nuget Publish
run: dotnet nuget push nupkgs/*.nupkg -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json

0 comments on commit ce4659d

Please sign in to comment.