File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,11 @@ jobs:
256
256
257
257
$BuildSpec = Get-Content -Path buildspec.json -Raw | ConvertFrom-Json
258
258
$ProductName = $BuildSpec.name
259
- $ProductVersion = $BuildSpec.version
259
+ $ProductVersion = "${BuildSpec.versionMajor}.${BuildSpec.versionMinor}.${BuildSpec.versionPatch}.${BuildSpec.buildNumber}"
260
+ $ReleaseType = $BuildSpec.releaseType
261
+ if ($ReleaseType -ne "release") {
262
+ $ProductVersion = "${ProductVersion}_${ReleaseType}"
263
+ }
260
264
261
265
"pluginName=${ProductName}" >> $env:GITHUB_OUTPUT
262
266
"pluginVersion=${ProductVersion}" >> $env:GITHUB_OUTPUT
@@ -277,5 +281,5 @@ jobs:
277
281
- name : Upload Artifacts 📡
278
282
uses : actions/upload-artifact@v4
279
283
with :
280
- name : ${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-windows-x64 -${{ needs.check-event.outputs.commitHash }}
281
- path : ${{ github.workspace }}/release/${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-windows-x64 *.*
284
+ name : ${{ steps.setup.outputs.pluginName }}-windows- ${{ steps.setup.outputs.pluginVersion }}-${{ needs.check-event.outputs.commitHash }}
285
+ path : ${{ github.workspace }}/release/${{ steps.setup.outputs.pluginName }}-windows- ${{ steps.setup.outputs.pluginVersion }}*.*
You can’t perform that action at this time.
0 commit comments