We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f76e122 commit 87bdfedCopy full SHA for 87bdfed
1 file changed
.github/workflows/release.yml
@@ -30,7 +30,8 @@ jobs:
30
run: |
31
# Set the version number for the build based on the tag or fallback to the branch name
32
$version = if ("${{ inputs.tag }}" -match '^v(\d+\.\d+\.\d+)$') { "${{ inputs.tag }}.0" } else { "${{ github.ref_name }}.0" }
33
-
+ $version = $version -replace '^v', '' # Remove the 'v' prefix if present, for example: v1.0.0 -> 1.0.0
34
+
35
Write-Host "Setting version to $version"
36
37
dotnet build --configuration Release -p Platform=x64 -p Version=$version -p GenerateAppxPackageOnBuild=true
0 commit comments