Skip to content

Commit 257b1b7

Browse files
committed
Remove dead winget manifest stuff
1 parent ce78c60 commit 257b1b7

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

UpdateVersion.ps1

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -79,43 +79,6 @@ Write-Output "Starting new installer, please exit when done installing"
7979
$out = Invoke-Expression ".\build\vstudio\Finestray-$newVersion-win64.exe" | Out-String
8080
Write-Output $out
8181

82-
# $installerHash = (Get-FileHash ".\build\vstudio\Finestray-$newVersion-win64.exe" -Algorithm SHA256).Hash
83-
#
84-
# Write-Output "Creating new manifest directory"
85-
# if (!(Test-Path "manifests\b\Benbuck\Finestray\$newVersion.0.0\")) {
86-
# New-Item "manifests\b\Benbuck\Finestray\$newVersion.0.0\"
87-
# }
88-
#
89-
# Write-Output "Updating installer yaml"
90-
# if (!(Test-Path "manifests\b\Benbuck\Finestray\$newVersion.0.0\Benbuck.Finestray.installer.yaml")) {
91-
# Copy-Item -Path "manifests\b\Benbuck\Finestray\$oldVersion.0.0\Benbuck.Finestray.installer.yaml" -Destination "manifests\b\Benbuck\Finestray\$newVersion.0.0\"
92-
# }
93-
# $content = (Get-Content "manifests\b\Benbuck\Finestray\$newVersion.0.0\Benbuck.Finestray.installer.yaml")
94-
# $content = $content -replace "PackageVersion: $oldVersion.0.0", "PackageVersion: $newVersion.0.0"
95-
# $content = $content -replace "-$oldVersion-", "-$newVersion-"
96-
# $content = $content -replace "/v$oldVersion/", "/v$newVersion/"
97-
# $content = $content -replace "InstallerSha256: .*", "InstallerSha256: $installerHash"
98-
# $content = $content -replace "ReleaseDate: .*", "ReleaseDate: $dateString"
99-
# Set-Content -Path "manifests\b\Benbuck\Finestray\$newVersion.0.0\Benbuck.Finestray.installer.yaml" -Value $content
100-
#
101-
# Write-Output "Updating locale yaml"
102-
# if (!(Test-Path "manifests\b\Benbuck\Finestray\$newVersion.0.0\Benbuck.Finestray.locale.en-us.yaml")) {
103-
# Copy-Item -Path "manifests\b\Benbuck\Finestray\$oldVersion.0.0\Benbuck.Finestray.locale.en-us.yaml" -Destination "manifests\b\Benbuck\Finestray\$newVersion.0.0\"
104-
# }
105-
# $content = (Get-Content "manifests\b\Benbuck\Finestray\$newVersion.0.0\Benbuck.Finestray.locale.en-US.yaml")
106-
# $content = $content -replace "PackageVersion: $oldVersion.0.0", "PackageVersion: $newVersion.0.0"
107-
# $content = $content -replace "/v$oldVersion", "/v$newVersion"
108-
# $content = $content -replace "InstallerSha256: .*", "InstallerSha256: $installerHash"
109-
# Set-Content -Path "manifests\b\Benbuck\Finestray\$newVersion.0.0\Benbuck.Finestray.locale.en-US.yaml" -Value $content
110-
#
111-
# Write-Output "Updating yaml"
112-
# if (!(Test-Path "manifests\b\Benbuck\Finestray\$newVersion.0.0\Benbuck.Finestray.yaml")) {
113-
# Copy-Item -Path "manifests\b\Benbuck\Finestray\$oldVersion.0.0\Benbuck.Finestray.yaml" -Destination "manifests\b\Benbuck\Finestray\$newVersion.0.0\"
114-
# }
115-
# $content = (Get-Content "manifests\b\Benbuck\Finestray\$newVersion.0.0\Benbuck.Finestray.yaml")
116-
# $content = $content -replace "PackageVersion: $oldVersion.0.0", "PackageVersion: $newVersion.0.0"
117-
# Set-Content -Path "manifests\b\Benbuck\Finestray\$newVersion.0.0\Benbuck.Finestray.yaml" -Value $content
118-
11982
Write-Output "Updating version in git"
12083
git add --all
12184
git commit --message "Update version to $newVersion"

0 commit comments

Comments
 (0)