Skip to content

Commit 3ea0c8c

Browse files
committed
update to 3.7.11.0
1 parent 385858b commit 3ea0c8c

3 files changed

Lines changed: 16 additions & 3 deletions

File tree

DSCResources/DSCResources.csproj

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,27 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<Version>3.7.10.0</Version>
5+
<Version>3.7.11.0</Version>
66
<Authors>guitarrapc</Authors>
77
<Company>guitarrapc</Company>
88
<Copyright>Copyright © 2018</Copyright>
99
<Product>GraniResource</Product>
1010
<PackageId>GraniResource</PackageId>
1111
<Description>PowerShell Desired State Configuration Resources for real production workload.</Description>
1212
<AssemblyName>DSCResources</AssemblyName>
13+
<AssemblyVersion>3.7.11.0</AssemblyVersion>
14+
<FileVersion>3.7.11.0</FileVersion>
15+
<PostBuildEvent>
16+
powershell -ExecutionPolicy RemoteSigned -Command $(SolutionDir)New-GraniResourceManifest.ps1 -Version $(Version) -Path $(SolutionDir)$(Product).psd1
17+
rmdir $(SolutionDir)TmpPackage\ /S /Q
18+
mkdir $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)
19+
xcopy $(TargetDir)* $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName) /s /i
20+
xcopy $(SolutionDir)*.psd1 $(SolutionDir)TmpPackage\$(Product)
21+
del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.dll
22+
del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.pdb
23+
del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.json
24+
powershell -ExecutionPolicy RemoteSigned -Command Compress-Archive -Path $(SolutionDir)TmpPackage\* -DestinationPath $(SolutionDir)Package\$(Product)_$(Version).zip -Force
25+
</PostBuildEvent>
1326
</PropertyGroup>
1427

1528
<ItemGroup>
@@ -50,15 +63,15 @@
5063
PostBuildMacros;
5164
</PostBuildEventDependsOn>
5265
<PostBuildEvent>
53-
powershell -Command $(SolutionDir)New-GraniResourceManifest.ps1 -Version $(Version) -Path $(SolutionDir)$(Product).psd1
66+
powershell -ExecutionPolicy RemoteSigned -Command $(SolutionDir)New-GraniResourceManifest.ps1 -Version $(Version) -Path $(SolutionDir)$(Product).psd1
5467
rmdir $(SolutionDir)TmpPackage\ /S /Q
5568
mkdir $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)
5669
xcopy $(TargetDir)* $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName) /s /i
5770
xcopy $(SolutionDir)*.psd1 $(SolutionDir)TmpPackage\$(Product)
5871
del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.dll
5972
del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.pdb
6073
del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.json
61-
powershell -Command Compress-Archive -Path $(SolutionDir)TmpPackage\* -DestinationPath $(SolutionDir)Package\$(Product)_$(Version).zip -Force
74+
powershell -ExecutionPolicy RemoteSigned -Command Compress-Archive -Path $(SolutionDir)TmpPackage\* -DestinationPath $(SolutionDir)Package\$(Product)_$(Version).zip -Force
6275
</PostBuildEvent>
6376
</PropertyGroup>
6477

GraniResource.psd1

0 Bytes
Binary file not shown.

Package/GraniResource_3.7.11.0.zip

72.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)