Skip to content

Commit 6c56952

Browse files
rkeithhillJamesWTruher
authored andcommitted
WIP: Update template to use PSL 5.1.0 (PowerShell#66)
* WIP: Update template to use PSL 5.1.0 * Update all references to 5.1.1 to 5.1.0
1 parent daae41a commit 6c56952

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

src/5/PowerShellStandard.Library.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata>
44
<id>PowerShellStandard.Library</id>
5-
<version>5.1.1</version>
5+
<version>5.1.0</version>
66
<title>PowerShellStandard.Library</title>
77
<authors>Microsoft</authors>
88
<owners>Microsoft,PowerShellTeam</owners>

src/5/System.Management.Automation-lib.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<AssemblyOriginatorKeyFile>..\signing\visualstudiopublic.snk</AssemblyOriginatorKeyFile>
66
<AssemblyName>System.Management.Automation</AssemblyName>
77
<AssemblyVersion>3.0.0</AssemblyVersion>
8-
<FileVersion>5.1.1</FileVersion>
8+
<FileVersion>5.1.0</FileVersion>
99
<DelaySign>True</DelaySign>
1010
<DefineConstants>RUNTIME_SERIALIZATION</DefineConstants>
1111
<NuspecFile>./PowershellStandard.Library.nuspec</NuspecFile>

src/dotnetTemplate/Microsoft.PowerShell.Standard.Module.Template/Microsoft.PowerShell.Standard.Module.Template.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>Microsoft.PowerShell.Standard.Module.Template</id>
5-
<version>0.1.4</version>
5+
<version>0.1.5</version>
66
<title>PowerShell Standard module</title>
77
<authors>Microsoft</authors>
88
<owners>Microsoft,PowerShellTeam</owners>

src/dotnetTemplate/Microsoft.PowerShell.Standard.Module.Template/Microsoft.PowerShell.Standard.Module.Template/.template.config/template.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
"PowerShellStandardVersion":{
1717
"type": "parameter",
1818
"datatype":"choice",
19-
"defaultValue": "5.1.0-preview-06",
19+
"defaultValue": "5.1.0",
2020
"choices": [
2121
{
22-
"choice": "5.1.0-preview-06",
22+
"choice": "5.1.0",
2323
"description": "PowerShell Standard 5.1"
2424
},
2525
{
2626
"choice": "3.0.0-preview-02",
2727
"description": "PowerShell Standard 3.0"
2828
}
2929
],
30-
"replaces": "5.1.0-preview-06"
30+
"replaces": "5.1.0"
3131
},
3232
"skipRestore": {
3333
"type": "parameter",

src/dotnetTemplate/Microsoft.PowerShell.Standard.Module.Template/Microsoft.PowerShell.Standard.Module.Template/Microsoft.PowerShell.Standard.Module.Template.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="PowerShellStandard.Library" Version="5.1.1">
9+
<PackageReference Include="PowerShellStandard.Library" Version="5.1.0">
1010
<PrivateAssets>All</PrivateAssets>
1111
</PackageReference>
1212

src/dotnetTemplate/Microsoft.PowerShell.Standard.Module.Template/Microsoft.PowerShell.Standard.Module.Template/Microsoft.PowerShell.Standard.Module.Template.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Author = 'Unknown'
2323
CompanyName = 'Unknown'
2424

2525
# Copyright statement for this module
26-
Copyright = '(c) 2018 Unknown. All rights reserved.'
26+
Copyright = '(c) 2019 Unknown. All rights reserved.'
2727

2828
# Description of the functionality provided by this module
2929
# Description = ''

src/dotnetTemplate/README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A `dotnet new` template that creates an example PowerShell C# module that uses PowerShellStandard.
44

5-
```
5+
```powershell
66
dotnet new psmodule
77
```
88

@@ -12,7 +12,7 @@ To use the template, you must first install it so that it is recognized in `dotn
1212

1313
### From nuget.org
1414

15-
```
15+
```powershell
1616
dotnet new -i Microsoft.PowerShell.Standard.Module.Template
1717
```
1818

@@ -33,7 +33,7 @@ Now checkout the [usage](#usage).
3333

3434
Once the template is installed, you will see it in your template list:
3535

36-
```
36+
```text
3737
PS> dotnet new -l
3838
3939
Usage: new [options]
@@ -75,7 +75,7 @@ MVC ViewStart viewstart
7575

7676
To get more details, add the `-h` flag:
7777

78-
```
78+
```text
7979
PS > dotnet new psmodule -h
8080
Usage: new [options]
8181
@@ -95,9 +95,9 @@ PowerShell Standard Module (C#)
9595
Author: Microsoft Corporation
9696
Options:
9797
-v|--powershell-standard-version
98-
5.1.1 - PowerShell Standard 5.1.1
98+
5.1.0 - PowerShell Standard 5.1.0
9999
3.0.0-preview-02 - PowerShell Standard 3.0
100-
Default: 5.1.1
100+
Default: 5.1.0
101101
102102
--no-restore If specified, skips the automatic restore of the project on create.
103103
bool - Optional
@@ -106,7 +106,7 @@ Options:
106106

107107
To create a template using the defaults:
108108

109-
```
109+
```text
110110
> dotnet new psmodule
111111
The template "PowerShell Standard Module" was created successfully.
112112
@@ -124,7 +124,7 @@ Notice that it restores automatically.
124124

125125
You can optionally specify PowerShell Standard V3 by running:
126126

127-
```
127+
```text
128128
dotnet new psmodule --powershell-standard-version 3.0.0-preview-02
129129
```
130130

tools/releaseBuild/signing.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
dest="__OUTPATHROOT__\release\out\Microsoft.PowerShell.Standard.Module.Template.0.1.4.nupkg" />
77
<file src="__INPATHROOT__\release\out\PowerShellStandard.Library.3.0.0-preview-02.nupkg" signType="CP-401405"
88
dest="__OUTPATHROOT__\release\out\PowerShellStandard.Library.3.0.0-preview-02.nupkg" />
9-
<file src="__INPATHROOT__\release\out\PowerShellStandard.Library.5.1.1.nupkg" signType="CP-401405"
10-
dest="__OUTPATHROOT__\release\out\PowerShellStandard.Library.5.1.1.nupkg" />
9+
<file src="__INPATHROOT__\release\out\PowerShellStandard.Library.5.1.0.nupkg" signType="CP-401405"
10+
dest="__OUTPATHROOT__\release\out\PowerShellStandard.Library.5.1.0.nupkg" />
1111
</job>
1212
</SignConfigXML>

0 commit comments

Comments
 (0)