Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(winget): support installing .exe directly (#4498)
closes #4494 --------- Co-authored-by: Vedant <83997633+vedantmgoyal2009@users.noreply.github.com>
- Loading branch information
1 parent
2b9e471
commit 27f0e33
Showing
5 changed files
with
179 additions
and
19 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
internal/pipe/winget/testdata/TestFormatBinary/TestFormatBinary.installer.yaml.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This file was generated by GoReleaser. DO NOT EDIT. | ||
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.5.0.schema.json | ||
PackageIdentifier: goreleaser.foo | ||
PackageVersion: 1.2.1 | ||
InstallerLocale: en-US | ||
InstallerType: portable | ||
Commands: | ||
- foo | ||
ReleaseDate: "2023-06-12" | ||
Installers: | ||
- Architecture: x64 | ||
InstallerUrl: https://dummyhost/download/v1.2.1/foo_windows_amd64v1.exe | ||
InstallerSha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | ||
UpgradeBehavior: uninstallPrevious | ||
- Architecture: x86 | ||
InstallerUrl: https://dummyhost/download/v1.2.1/foo_windows_386.exe | ||
InstallerSha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | ||
UpgradeBehavior: uninstallPrevious | ||
- Architecture: arm64 | ||
InstallerUrl: https://dummyhost/download/v1.2.1/foo_windows_arm64.exe | ||
InstallerSha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | ||
UpgradeBehavior: uninstallPrevious | ||
ManifestType: installer | ||
ManifestVersion: 1.5.0 |
12 changes: 12 additions & 0 deletions
12
internal/pipe/winget/testdata/TestFormatBinary/TestFormatBinary.locale.en-US.yaml.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This file was generated by GoReleaser. DO NOT EDIT. | ||
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.5.0.schema.json | ||
PackageIdentifier: goreleaser.foo | ||
PackageVersion: 1.2.1 | ||
PackageLocale: en-US | ||
Publisher: goreleaser | ||
PackageName: foo | ||
License: MIT | ||
ShortDescription: foo bar zaz | ||
Moniker: foo | ||
ManifestType: defaultLocale | ||
ManifestVersion: 1.5.0 |
7 changes: 7 additions & 0 deletions
7
internal/pipe/winget/testdata/TestFormatBinary/TestFormatBinary.yaml.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This file was generated by GoReleaser. DO NOT EDIT. | ||
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.5.0.schema.json | ||
PackageIdentifier: goreleaser.foo | ||
PackageVersion: 1.2.1 | ||
DefaultLocale: en-US | ||
ManifestType: version | ||
ManifestVersion: 1.5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters