File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ jobs:
1414 dotnet-version : 6.0.301
1515
1616 - name : Checkout
17- uses : actions/checkout@v2
17+ uses : actions/checkout@v3
1818 with :
19- persist-credentials : false
20- submodules : true
19+ token : ${{ secrets.PAT_PACKAGE }}
20+ fetch-depth : 0
2121
2222 - name : Build and package
2323 run : ./build.cmd
Original file line number Diff line number Diff line change 11IF " %VERSION_PATCH% " == " " (
2- SET VERSION = 0.99994
2+ SET VERSION = 3.111.9
33) ELSE (
44 SET VERSION = 0.1.%VERSION_PATCH%
55)
66
77echo %VERSION%
88
9- dotnet pack dotnet-ws.fsproj -o publish -c Release /p:Version=%VERSION%
9+ dotnet pack dotnet-ws.fsproj -o publish -c Release /p:Version=%VERSION%
10+
11+ if %errorlevel% neq 0 exit /b %errorlevel%
12+
13+ git tag %VERSION%
14+
15+ if %errorlevel% neq 0 exit /b %errorlevel%
16+
17+ git push origin --tags
You can’t perform that action at this time.
0 commit comments