File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,18 @@ jobs:
1111 name : Update NuGet
1212 steps :
1313
14+ - name : Generate build number
15+ uses : einaregilsson/build-number@v2
16+ with :
17+ token : ${{secrets.github_token}}
18+
1419 - name : Checkout repository
1520 uses : actions/checkout@master
1621
1722 - name : Build solution and generate NuGet package
1823 run : |
1924 cd src\netstandard\
20- dotnet pack -c Release -o out --version-suffix develop
25+ dotnet pack -c Release -o out /p:Version=20.0.${env:BUILD_NUMBER}- develop
2126
2227 - name : Install NuGet client
2328 uses : warrenbuckley/Setup-Nuget@v1
Original file line number Diff line number Diff line change 2222 <RepositoryUrl >https://github.com/Code-Sharp/WampSharp/</RepositoryUrl >
2323 <projectUrl >https://wampsharp.net/</projectUrl >
2424 <PackageTags >websockets wampws rpc pubsub wampv2</PackageTags >
25- <Version >20.0.20200111</ Version >
25+ <VersionPrefix >20.0.0</ VersionPrefix >
2626 </PropertyGroup >
2727</Project >
You can’t perform that action at this time.
0 commit comments