Skip to content

Commit

Permalink
new external help
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhitsolutions committed May 12, 2017
1 parent b77272f commit 18155da
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Docs/Save-PSReleaseAsset.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ schema: 2.0.0
# Save-PSReleaseAsset

## SYNOPSIS
Download the latest PowerShell v6 alpha releases
Download the latest PowerShell v6 beta releases

## SYNTAX

Expand Down Expand Up @@ -96,7 +96,7 @@ Select one or more platforms.
Type: String[]
Parameter Sets: Name
Aliases:

Accepted Values: AppImage,CentOS,MacOS,Suse,Ubuntu14,Ubuntu16,Win10,Win7-x64,Win7-x86,Win81
Required: True
Position: Named
Default value: None
Expand Down
1 change: 1 addition & 0 deletions PSReleaseTools.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ Process {
@{Name="Format";Expression={
$_.name.split(".")[-1]
}},
@{Name="SizeMB";Expression = {$h.size -as [int32]}},
@{Name="Hash";Expression = {$h.item($_.name)}},
@{Name="Created";Expression={$_.Created_at -as [datetime]}},
@{Name="Updated";Expression={$_.Updated_at -as [datetime]}},
Expand Down
17 changes: 15 additions & 2 deletions en-US/PSReleaseTools-help.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml">
<helpItems xmlns="http://msh" schema="maml">

<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Get-PSReleaseAsset</command:name>
Expand All @@ -23,6 +23,8 @@
<command:parameterValue required="false" variableLength="false">Ubuntu</command:parameterValue>
<command:parameterValue required="false" variableLength="false">MacOS</command:parameterValue>
<command:parameterValue required="false" variableLength="false">CentOS</command:parameterValue>
<command:parameterValue required="false" variableLength="false">Suse</command:parameterValue>
<command:parameterValue required="false" variableLength="false">AppImage</command:parameterValue>
</command:parameterValueGroup>
<command:parameterValue required="true" variableLength="false">String[]</command:parameterValue>
<dev:type><maml:name>String[]</maml:name>
Expand Down Expand Up @@ -280,7 +282,7 @@ PowerShell_6.0.0.14-alpha.14-win81-x64.msi 12/14/2016 8:48:23 PM 4
<command:details><command:name>Save-PSReleaseAsset</command:name>
<command:verb>Save</command:verb>
<command:noun>PSReleaseAsset</command:noun>
<maml:description><maml:para>Download the latest PowerShell v6 alpha releases
<maml:description><maml:para>Download the latest PowerShell v6 beta releases
</maml:para>
</maml:description>
</command:details>
Expand Down Expand Up @@ -346,6 +348,17 @@ PowerShell_6.0.0.14-alpha.14-win81-x64.msi 12/14/2016 8:48:23 PM 4
<maml:Description><maml:para>Select one or more platforms.
</maml:para>
</maml:Description>
<command:parameterValueGroup><command:parameterValue required="false" variableLength="false">AppImage</command:parameterValue>
<command:parameterValue required="false" variableLength="false">CentOS</command:parameterValue>
<command:parameterValue required="false" variableLength="false">MacOS</command:parameterValue>
<command:parameterValue required="false" variableLength="false">Suse</command:parameterValue>
<command:parameterValue required="false" variableLength="false">Ubuntu14</command:parameterValue>
<command:parameterValue required="false" variableLength="false">Ubuntu16</command:parameterValue>
<command:parameterValue required="false" variableLength="false">Win10</command:parameterValue>
<command:parameterValue required="false" variableLength="false">Win7-x64</command:parameterValue>
<command:parameterValue required="false" variableLength="false">Win7-x86</command:parameterValue>
<command:parameterValue required="false" variableLength="false">Win81</command:parameterValue>
</command:parameterValueGroup>
<command:parameterValue required="true" variableLength="false">String[]</command:parameterValue>
<dev:type><maml:name>String[]</maml:name>
<maml:uri /></dev:type>
Expand Down

0 comments on commit 18155da

Please sign in to comment.