Skip to content

Commit af759fd

Browse files
authored
Update upload_release_build.yml
1 parent 60be9d0 commit af759fd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/upload_release_build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,10 @@ jobs:
185185
$asset_path = $artifact.FullName
186186
187187
# 2. concat new name
188-
$baseName = [System.IO.Path]::GetFileNameWithoutExtension($artifact.Name)
189188
$extension = $artifact.Extension
190-
$asset_name = "{0}_${{matrix.type}}{1}" -f $baseName, $extension
189+
$buildType = "${{ matrix.type }}"
190+
$lowerBuildType = "$buildType.Substring(0, 1).ToLower() + $buildType.Substring(1)
191+
$asset_name = "compose-fluent-design-gallery-{0}-${{ needs.prepare-release.outputs.release_tag }}{1}" -f $lowerBuildType, $extension
191192
192193
Write-Host "Found artifact path: $asset_path"
193194
Write-Host "Final asset name: $asset_name"

0 commit comments

Comments
 (0)