From 3cdf200a696e5e48bbc12b64366712d107eb13aa Mon Sep 17 00:00:00 2001 From: Johnny Shaw Date: Wed, 1 Nov 2023 12:21:40 -0600 Subject: [PATCH] record winget manifest and bump revision --- VMPlex/Properties/AssemblyInfo.cs | 4 +-- packages/winget/README.md | 28 +++++++++++++++++++ .../1.0.0.12}/VMPlex.VMPlex.installer.yaml | 0 .../1.0.0.12}/VMPlex.VMPlex.locale.en-US.yaml | 0 .../VMPlex/1.0.0.12}/VMPlex.VMPlex.yaml | 0 .../1.0.0.13/VMPlex.VMPlex.installer.yaml | 19 +++++++++++++ .../1.0.0.13/VMPlex.VMPlex.locale.en-US.yaml | 26 +++++++++++++++++ .../VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.yaml | 8 ++++++ 8 files changed, 83 insertions(+), 2 deletions(-) create mode 100644 packages/winget/README.md rename packages/winget/{ => manifests/v/VMPlex/VMPlex/1.0.0.12}/VMPlex.VMPlex.installer.yaml (100%) rename packages/winget/{ => manifests/v/VMPlex/VMPlex/1.0.0.12}/VMPlex.VMPlex.locale.en-US.yaml (100%) rename packages/winget/{ => manifests/v/VMPlex/VMPlex/1.0.0.12}/VMPlex.VMPlex.yaml (100%) create mode 100644 packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.installer.yaml create mode 100644 packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.locale.en-US.yaml create mode 100644 packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.yaml diff --git a/VMPlex/Properties/AssemblyInfo.cs b/VMPlex/Properties/AssemblyInfo.cs index 83d0486..a4adf39 100644 --- a/VMPlex/Properties/AssemblyInfo.cs +++ b/VMPlex/Properties/AssemblyInfo.cs @@ -52,5 +52,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.13")] -[assembly: AssemblyFileVersion("1.0.0.13")] +[assembly: AssemblyVersion("1.0.0.14")] +[assembly: AssemblyFileVersion("1.0.0.14")] diff --git a/packages/winget/README.md b/packages/winget/README.md new file mode 100644 index 0000000..2c60b01 --- /dev/null +++ b/packages/winget/README.md @@ -0,0 +1,28 @@ +# WINGET + +We publish VMPlex to the winget package manager. This section of the source +maintains a record of manifests submitted to winget. + +## Instructions + +To submit a new release to winget, first you must build and publish a release +to the [VMPlex GitHub releases page](https://github.com/0xf005ba11/vmplex-ws/releases). +Once this is completed you can use the [wingetcreate](https://github.com/microsoft/winget-create) +tool to build a new manifest for that release and submit it to the +[winget packages repository](https://github.com/microsoft/winget-pkgs). + +1. Move the root of the source tree. +2. Run the following `wingetcreate` command replacing the `[version]` with the +version being published. + - `wingetcreate update VMPlex.VMPlex -u "https://github.com/0xf005ba11/vmplex-ws/releases/download/v[version]/VMPlex.exe|neutral" -v [version] -o .\packages\winget\` +3. Review the newly generated manifest in the source `.\packages\winget\manifests\v\VMPlex\VMPlex\[version]`. +4. Validate the newly generated manifest using `winget`. + - `winget validate .\packages\winget\manifests\v\VMPlex\VMPlex\[version]` +5. Test that the generated manifest works as expected to update VMPlex. + - `winget update -m .\packages\winget\manifests\v\VMPlex\VMPlex\[version]` +6. Submit the manifest to the winget packages repository using `wingetcreate`. + - `wingetcreate submit -p "VMPlex.VMPlex version [version]" .\packages\winget\manifests\v\VMPlex\VMPlex\[version]` +7. A PR should have been created against the winget packages repository, once +accepted the build will be publicly available through winget. +8. Bump the revision (if appropriate) in `AssemblyInfo.cs` in this repository. +8. Submit a PR to this repository with the changes for recordkeeping. diff --git a/packages/winget/VMPlex.VMPlex.installer.yaml b/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.12/VMPlex.VMPlex.installer.yaml similarity index 100% rename from packages/winget/VMPlex.VMPlex.installer.yaml rename to packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.12/VMPlex.VMPlex.installer.yaml diff --git a/packages/winget/VMPlex.VMPlex.locale.en-US.yaml b/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.12/VMPlex.VMPlex.locale.en-US.yaml similarity index 100% rename from packages/winget/VMPlex.VMPlex.locale.en-US.yaml rename to packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.12/VMPlex.VMPlex.locale.en-US.yaml diff --git a/packages/winget/VMPlex.VMPlex.yaml b/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.12/VMPlex.VMPlex.yaml similarity index 100% rename from packages/winget/VMPlex.VMPlex.yaml rename to packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.12/VMPlex.VMPlex.yaml diff --git a/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.installer.yaml b/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.installer.yaml new file mode 100644 index 0000000..46f458c --- /dev/null +++ b/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.installer.yaml @@ -0,0 +1,19 @@ +# Created using wingetcreate 1.5.5.0 +# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.5.0.schema.json + +PackageIdentifier: VMPlex.VMPlex +PackageVersion: 1.0.0.13 +Platform: +- Windows.Desktop +MinimumOSVersion: 10.0.0.0 +InstallerType: exe +InstallerSwitches: + Silent: --install + SilentWithProgress: --install + Upgrade: --upgrade +Installers: +- Architecture: neutral + InstallerUrl: https://github.com/0xf005ba11/vmplex-ws/releases/download/v1.0.0.13/VMPlex.exe + InstallerSha256: 0852599954B81B8662592C9E4AA0DA588AE4BD04FC3B6DA9B9D4A666C7F507F3 +ManifestType: installer +ManifestVersion: 1.5.0 diff --git a/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.locale.en-US.yaml b/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.locale.en-US.yaml new file mode 100644 index 0000000..43ca8f5 --- /dev/null +++ b/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.locale.en-US.yaml @@ -0,0 +1,26 @@ +# Created using wingetcreate 1.5.5.0 +# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.5.0.schema.json + +PackageIdentifier: VMPlex.VMPlex +PackageVersion: 1.0.0.13 +PackageLocale: en-US +Publisher: VMPlex +PublisherUrl: https://github.com/0xf005ba11/vmplex-ws/ +PublisherSupportUrl: https://github.com/0xf005ba11/vmplex-ws/issues +PackageName: VMPlex Workstation +License: MIT +ShortDescription: A tabbed UI for Microsoft's Hyper-V +Moniker: vmplex +Tags: +- vmplex +- vmplex-ws +- hyper-v +- virtual-machines +- vm +- vm-snapshot +- vm-checkpoint +- remote-desktop +- rdp +- manager +ManifestType: defaultLocale +ManifestVersion: 1.5.0 diff --git a/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.yaml b/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.yaml new file mode 100644 index 0000000..edb0ff2 --- /dev/null +++ b/packages/winget/manifests/v/VMPlex/VMPlex/1.0.0.13/VMPlex.VMPlex.yaml @@ -0,0 +1,8 @@ +# Created using wingetcreate 1.5.5.0 +# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.5.0.schema.json + +PackageIdentifier: VMPlex.VMPlex +PackageVersion: 1.0.0.13 +DefaultLocale: en-US +ManifestType: version +ManifestVersion: 1.5.0