This repository was archived by the owner on Sep 20, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636 <Target Name =" Test" DependsOnTargets =" Build" >
3737 <xunit Assembly =" $(Root)src\GitReleaseNotes.Tests\bin\$(Configuration)\GitReleaseNotes.Tests.dll" ShadowCopy =" False" />
38- <xunit Assembly =" $(Root)src\GitReleaseNotes.AcceptanceTests\bin\$(Configuration)\GitReleaseNotes.AcceptanceTests.dll" ShadowCopy =" False" />
3938 </Target >
4039
4140 <UsingTask TaskName =" ReplaceFileText" TaskFactory =" CodeTaskFactory" AssemblyFile =" $(MSBuildToolsPath)\Microsoft.Build.Tasks.v$(MSBuildToolsVersion).dll" >
8281 DestinationFolder =" $(Root)\ChocolateyBackup" />
8382 <Copy SourceFiles =" $(Root)Chocolatey\GitReleaseNotes.nuspec"
8483 DestinationFolder =" $(Root)\ChocolateyBackup" />
85-
84+
8685 <ReplaceFileText InputFilename =" $(Root)Chocolatey\tools\chocolateyInstall.ps1"
8786 OutputFilename =" $(Root)Chocolatey\tools\chocolateyInstall.ps1"
8887 MatchExpression =" __version__"
9291 OutputFilename =" $(Root)Chocolatey\GitReleaseNotes.nuspec"
9392 MatchExpression =" __version__"
9493 ReplacementText =" $(GitHubFlowVersion_SemVer)" />
95-
94+
9695 <Exec Command =" cpack $(Root)Chocolatey\GitReleaseNotes.nuspec" WorkingDirectory =" $(DropPath)\Chocolatey" />
9796
9897 <Copy SourceFiles =" $(Root)\ChocolateyBackup\chocolateyInstall.ps1"
9998 DestinationFolder =" $(Root)\Chocolatey\tools" />
10099 <Copy SourceFiles =" $(Root)ChocolateyBackup\GitReleaseNotes.nuspec"
101100 DestinationFolder =" $(Root)\Chocolatey" />
102-
101+
103102 <RemoveDir Directories =" $(Root)ChocolateyBackup" />
104103 </Target >
105104</Project >
You can’t perform that action at this time.
0 commit comments