Commit Graph

14 Commits

Author SHA1 Message Date
Esco
7f213c1690 YamlCreate small tweaks (#11753)
* Added WinGet Validate

* Added Natural sorting

* Fixed support for hyphen

* Edited max trim combines

* Ignore PackageIdentifier line

Issue spotted when updating the "Microsoft.Office" manifest

* Out-File Fix

* Fixed Split for Powershell 5

* Fixed tags split for NewLocale

* Fixed NewLocale max Tags split

* Added more InstallerTypes
2021-05-04 14:21:07 -07:00
Esco
a03ca27cf5 InstallerSwitches Hotfix (#11576)
Fixed InstallerSwitches getting commented out..
2021-04-26 17:37:28 -07:00
Esco
0b2c736456 YamlCreate v3 (#10746)
* YamlCreate v3

* Exclude current version

Exclude current version if you messed up and wanted to restart the script

* Added InstallerSuccessCodes

+ Added InstallerSuccessCodes
+ ProductCode hint

* Copypaste Typo

* InstallerSuccessCodes kept getting commented out..

* Fixed forgotten quotes in ProductCode

* Revert "Exclude current version"

This reverts commit bc7da021805e6e19d9978a1f4dabd277a008bec0.

* Hotfix for ProductCode not getting commeted out

* Now displays which lastversion is selected

* Replaced Comment out method
2021-04-21 08:52:08 -07:00
Easton Pillay
57b27f276a Fixed Join-Path in YamlCreate.ps1. (#10291) 2021-04-13 18:19:50 -07:00
Esco
d01d5decca Update YamlCreate to Manifest v1.0.0 (#9583)
* Add NZXT CAM v4.22.0

* Update YamlCreate to Manifest v1.0.0

* Hotfix

+ Fixed some strong script breaking typo last minute changes on ShortDescription...
+ YamlCreate can now be used anywhere

* Revert "Add NZXT CAM v4.22.0"

This reverts commit c181784da181c4601f4df36f375e9fc9e99904f0.

* Revert "Revert "Add NZXT CAM v4.22.0""

This reverts commit 16c5afba3e288aba992262665b29fb3fe602e033.

* Revert "Revert "Revert "Add NZXT CAM v4.22.0"""

This reverts commit c0d5f8d6032dea1b4f3e0b1534ead60d6598d4f7.

* Update YamlCreate.ps1

+ Select menu
+ Function to only update version number, download url and hash

* Added Prompt's for everything

* Added support for new Locale

* Fixed Tags miss value and added Extensions, Protocols and Commands

* Moved Enter the URL to after old manifest check

* Proper Tag, Protocol, FileExtension and Command limit

* Increased some value limits

* Update MullvadVPN manifest

* Revert "Update MullvadVPN manifest"

This reverts commit cc92e4993f4642712d33c44b033a413e3477f5fa.

* Small Tweaks

* Added Encoding?

* Added Encoding for Update and NewLocale

* Added ProductCode variable

* Added ProductCode to Update switch

* Moved Publisher and PackageName

* Added Custom switch

* Custom variable hotfix

* Fixed another tiny bug..
2021-04-06 13:35:16 -07:00
Chris Galvan
ec0ace5e18 feat: removing spaces from folder name in yamlcreate (#5066) 2020-12-09 11:59:02 -08:00
Sebastian N
c47cc808f2 Feature/revise manifest creation script (#3241)
* Make script PSv5 compatible again, apply some PS best practices

* this commit removes PowerShell Core only features that were introduced with #2378 to ensure compatibility with PSv5
* adds comment based help
* use consistently cased Cmdlet and variable names
* improves input data related error handling
* adds PS code regions for automatic code folding
* automates the creation of the manifest file at the correct destination path
* corrects the use of Write-Host and Write-Output

Fixes #3061

* Adhere to YAML formatting conventions

* Use cross-platform new line handling

Co-authored-by: Sebastian Neumann <sebastian.neumann@experienceone.com>
2020-08-27 07:38:43 -07:00
mizutoki79
6f4e05f75e update yaml create script (#2378)
* Refactor format

* Add colon writing metadata

* Change file location to absolute

* Supress extra output

* support running any location
2020-07-28 08:46:05 -07:00
JohnMcPMS
a28c5e7cac Grab the current directory and use it to create a full path to the output file (#2379) 2020-07-08 11:17:09 -07:00
JohnMcPMS
b639fe30f8 Port and merge #462 as its fork was deleted (#2196) 2020-06-30 11:20:06 -07:00
chausner
9bd42bbfad Use an in-memory stream in YamlCreate.ps1 for hash computation (#478)
Co-authored-by: Kevin Larkin (MS) <kevinla@microsoft.com>
2020-06-30 09:39:39 -07:00
Richard
4ee595af9d Add silent switches prompt to YamlCreate.ps1 (#1159)
* Add silent switches prompt

Added prompts for optional silent switches

* Added $InstallerType logic for silent switches

Only prompt for silent switches if $InstallerType is "exe"
2020-06-30 09:38:31 -07:00
Max Michels
840d98cce4 Optimizing YAMLCreate.ps1 (#609)
* requirement: id min 4 max 255 characters

* minimum requirements for manifest

* requriements for licenseurl when filled minimum 10 maximum 2000 chars

* requriements for appmoniker when filled maximum 40 chars

* requriements for tags when filled maximum 40 chars

* requriements for homepage when filled minimum 10 maximum 2000 chars

* requriements for description when filled maximum 500 chars

* catch failed download and exit the script
2020-06-03 14:01:47 -07:00
Kevin Larkin (MS)
538b79a125 Manifest Create tool (#127)
* Draft of YamlCreate tool

* Draft of tool to help create manifest files

* fixed typo writing sha instead of installertype to the screen
2020-05-15 16:52:51 -07:00