File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 3030 # Restore dotnet tools
3131 dotnet tool restore
3232 # Build Corral
33- dotnet build -c Release ${SOLUTION}
33+ dotnet build -p:Version=$VERSION - c Release ${SOLUTION}
3434 # Create packages
35- dotnet pack -p:PackageVersion =$VERSION --no-build -c Release ${SOLUTION}
35+ dotnet pack -p:Version =$VERSION --no-build -c Release ${SOLUTION}
3636 - name : Deploy to nuget
3737 run :
3838 dotnet nuget push "source/Corral/bin/Release/Corral*.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change @@ -42,14 +42,11 @@ flags from the file `filename`.
4242
4343## Versioning and Release
4444
45- The current version of Boogie is noted in a [ build property ] ( source/Directory.Build.props ) .
46- To push a new version to nuget, perform the following steps:
45+ To push a new version to nuget, publish a new release with a tag of the form
46+ ` vx.y.z ` , where ` x.y.z ` is the updated version.
4747
48- - Update the version (e.g., x.y.z) and commit the change
49- - git tag vx.y.z
50- - git push --atomic origin master vx.y.z
51-
52- The [ CI workflow] ( .github/workflows/test.yml ) will build and push the packages.
48+ The [ release workflow] ( .github/workflows/release.yml ) will automatically build
49+ and push the packages.
5350
5451
5552[ license-badge ] : https://img.shields.io/github/license/boogie-org/corral?color=blue
You can’t perform that action at this time.
0 commit comments