Skip to content

Commit 700cf3e

Browse files
committed
semver substitution
1 parent 76e8aa9 commit 700cf3e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

UploadMsix.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ Expand-Archive -Path $ArchivePath -DestinationPath dist
2020

2121
((Get-Content -path .\dist\AppxManifest.xml -Raw) -replace '0.0.0.0-placeholder',"$($LatestTag).0") | Set-Content -Path .\dist\AppxManifest.xml
2222

23-
((Get-Content -path .\ecsact_sdk.appinstaller -Raw) -replace '0.0.0.0-placeholder',"$($LatestTag)") | Set-Content -Path .\ecsact_sdk.appinstaller
23+
((Get-Content -path .\ecsact_sdk.appinstaller -Raw) -replace '0.0.0.0-placeholder',"$($LatestTag).0") | Set-Content -Path .\ecsact_sdk.appinstaller
24+
((Get-Content -path .\ecsact_sdk.appinstaller -Raw) -replace '0.0.0-placeholder',"$($LatestTag)") | Set-Content -Path .\ecsact_sdk.appinstaller
2425

2526
try {
2627
$MsixPath = "ecsact_sdk_$($LatestTag)_windows_x64.msix"

ecsact_sdk.appinstaller

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<AppInstaller Uri="https://ecsact.dev/ecsact_sdk.appinstaller" Version="0.0.0.0-placeholder" xmlns="http://schemas.microsoft.com/appx/appinstaller/2018">
3-
<MainPackage Name="EcsactSDK" Publisher="CN=Seaube" Version="0.0.0.0-placeholder" Uri="https://ecsact.dev/ecsact_sdk_0.0.0.0-placeholder_windows_x64.msix" ProcessorArchitecture="x64" />
3+
<MainPackage Name="EcsactSDK" Publisher="CN=Seaube" Version="0.0.0.0-placeholder" Uri="https://ecsact.dev/ecsact_sdk_0.0.0-placeholder_windows_x64.msix" ProcessorArchitecture="x64" />
44
<UpdateSettings>
55
<OnLaunch ShowPrompt="true" UpdateBlocksActivation="false" />
66
<ForceUpdateFromAnyVersion>true</ForceUpdateFromAnyVersion>

0 commit comments

Comments
 (0)