File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ name: Release_Stable
33on :
44 push :
55 tags :
6- - " *.*.*-beta*"
7- - " *.*.*-rc*"
6+ - " *.*.*"
7+ - " !*.*.*-beta*"
8+ - " !*.*.*-rc*"
89
910jobs :
1011 build_artifact :
2728 - name : Pack with dotnet
2829 env :
2930 VERSION : ${{ github.ref_name }}
30- run : dotnet pack DisposeScope.sln --version-suffix $VERSION -o ./nugetpkgs -c Release --no-build
31+ run : dotnet pack DisposeScope.sln -p:PackageVersion= $VERSION -o ./nugetpkgs -c Release --no-build
3132 - name : Upload artifact
3233 uses : actions/upload-artifact@v4
3334 with :
Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ name: Release_Unstable
33on :
44 push :
55 tags :
6- - " *.*.*"
7- - " !*.*.*-beta*"
8- - " !*.*.*-rc*"
6+ - " *.*.*-beta*"
7+ - " *.*.*-rc*"
98
109jobs :
1110 build_artifact :
2827 - name : Pack with dotnet
2928 env :
3029 VERSION : ${{ github.ref_name }}
31- run : dotnet pack DisposeScope.sln --version-suffix $VERSION -o ./nugetpkgs -c Release --no-build
30+ run : dotnet pack DisposeScope.sln -p:PackageVersion= $VERSION -o ./nugetpkgs -c Release --no-build
3231 - name : Upload artifact
3332 uses : actions/upload-artifact@v4
3433 with :
You can’t perform that action at this time.
0 commit comments