We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c227db commit ccc083eCopy full SHA for ccc083e
.github/workflows/release.yml
@@ -36,9 +36,9 @@ jobs:
36
run: |
37
$manifestPath = "SourceServerManager/app.manifest"
38
$version = "${{ steps.tag.outputs.version }}"
39
- $content = Get-Content $manifestPath -Raw
40
- $content = $content -replace 'version="[\d\.]+"', "version=`"$version`""
41
- Set-Content $manifestPath -Value $content -NoNewline
+ [xml]$manifest = Get-Content $manifestPath
+ $manifest.assembly.assemblyIdentity.SetAttribute("version", $version)
+ $manifest.Save($manifestPath)
42
echo "Updated app.manifest version to: $version"
43
shell: pwsh
44
0 commit comments