Skip to content

Commit 87bdfed

Browse files
committed
Working on appx building & signing
1 parent f76e122 commit 87bdfed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
run: |
3131
# Set the version number for the build based on the tag or fallback to the branch name
3232
$version = if ("${{ inputs.tag }}" -match '^v(\d+\.\d+\.\d+)$') { "${{ inputs.tag }}.0" } else { "${{ github.ref_name }}.0" }
33-
33+
$version = $version -replace '^v', '' # Remove the 'v' prefix if present, for example: v1.0.0 -> 1.0.0
34+
3435
Write-Host "Setting version to $version"
3536
3637
dotnet build --configuration Release -p Platform=x64 -p Version=$version -p GenerateAppxPackageOnBuild=true

0 commit comments

Comments
 (0)