Skip to content

Commit 32972cd

Browse files
committed
Update the build system [skip ci]
1 parent 7e1f936 commit 32972cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tool/Publish.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ git tag "v$version"
77
git push origin "v$version"
88

99
dotnet 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
}

tool/Version.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
}

0 commit comments

Comments
 (0)