Commit Graph

9 Commits

Author SHA1 Message Date
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