File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383
8484 - name : Create output zip file
8585 run : |
86- $version = "${{ steps.gitversion.outputs.nuGetVersionV2 }}"
86+ $version = "${{ steps.gitversion.outputs.semVer }}"
8787 $outputDir = "src/OTAPI.UnifiedServerProcess/bin/Release/net9.0/output"
8888 $zipPath = "UnifiedServerProcess-v$version.zip"
8989 Compress-Archive -Path "$outputDir\*" -DestinationPath "$zipPath"
9595 env :
9696 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9797 with :
98- tag_name : v${{ steps.gitversion.outputs.nuGetVersionV2 }}
99- release_name : Release v${{ steps.gitversion.outputs.nuGetVersionV2 }}
98+ tag_name : v${{ steps.gitversion.outputs.semVer }}
99+ release_name : Release v${{ steps.gitversion.outputs.semVer }}
100100 draft : false
101101 prerelease : ${{ github.ref == 'refs/heads/pre-release/upstream' }}
102102
@@ -106,6 +106,6 @@ jobs:
106106 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
107107 with :
108108 upload_url : ${{ steps.create_release.outputs.upload_url }}
109- asset_path : ./UnifiedServerProcess-v${{ steps.gitversion.outputs.nuGetVersionV2 }}.zip
110- asset_name : UnifiedServerProcess-v${{ steps.gitversion.outputs.nuGetVersionV2 }}.zip
109+ asset_path : ./UnifiedServerProcess-v${{ steps.gitversion.outputs.semVer }}.zip
110+ asset_name : UnifiedServerProcess-v${{ steps.gitversion.outputs.semVer }}.zip
111111 asset_content_type : application/zip
Original file line number Diff line number Diff line change 11next-version : 1.0.3
2- # mode: ContinuousDeployment
32branches :
43 main :
54 increment : Patch
65 prevent-increment-of-merged-branch-version : true
76 track-merge-target : false
7+ pre_release_upstream :
8+ regex : ^pre-release/upstream$
9+ mode : ContinuousDeployment
10+ tag : pre-release-upstream
11+ increment : Patch
12+ prevent-increment-of-merged-branch-version : true
13+ track-merge-target : false
14+ source-branches : [ main ]
815ignore :
916 sha : []
You can’t perform that action at this time.
0 commit comments