File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ git tag "v$version"
77git push origin " v$version "
88
99dotnet pack -- output var
10- foreach ($item in Get-ChildItem " var/*.nupkg" ) {
10+ foreach ($item in Get-Item " var/*.nupkg" ) {
1111 dotnet nuget push $item -- api- key $Env: NUGET_API_KEY -- source https:// api.nuget.org/ v3/ index.json
1212 dotnet nuget push $item -- api- key $Env: GITHUB_TOKEN -- source https:// nuget.pkg.github.com / cedx/ index.json
1313}
Original file line number Diff line number Diff line change 11" Updating the version number in the sources..."
22$version = (Import-PowerShellDataFile " PhpMinifier.psd1" ).ModuleVersion
33(Get-Content " Setup.iss" ) -replace ' version "\d+(\.\d+){2}.*"' , " version "" $version "" " | Out-File " Setup.iss"
4- foreach ($item in Get-ChildItem " */*.csproj" ) {
4+ foreach ($item in Get-Item " */*.csproj" ) {
55 (Get-Content $item ) -replace " <Version>\d+(\.\d+){2}.*</Version>" , " <Version>$version </Version>" | Out-File $item
66}
You can’t perform that action at this time.
0 commit comments