Skip to content

Commit 164a5ad

Browse files
committed
Remove signed projects from build scripts
1 parent ac05797 commit 164a5ad

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Build/build-functions.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function Start-Tests {
8989
function Start-PackNugets {
9090
$projectPaths = @(
9191
"UnitsNet\UnitsNet.csproj",
92-
"UnitsNet.Serialization.JsonNet\UnitsNet.Serialization.JsonNet.csproj",
92+
"UnitsNet.Serialization.JsonNet\UnitsNet.Serialization.JsonNet.csproj"
9393
)
9494

9595
write-host -foreground blue "Pack nugets...`n---"

Build/set-version-UnitsNet.Serialization.JsonNet.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ Import-Module "$PSScriptRoot\set-version.psm1"
4848

4949
$root = Resolve-Path "$PSScriptRoot\.."
5050
$paramSet = $PsCmdlet.ParameterSetName
51-
$commonPropsFile = "$root\UnitsNet.Serialization.JsonNet\UnitsNet.Serialization.JsonNet.Common.props"
52-
$versionFiles = @($commonPropsFile)
51+
$projFile = "$root\UnitsNet.Serialization.JsonNet\UnitsNet.Serialization.JsonNet.csproj"
52+
$versionFiles = @($projFile)
5353
$projectName = "JsonNet"
5454

5555
# Use UnitsNet.Common.props version as base if bumping major/minor/patch
56-
$newVersion = Get-NewProjectVersion $commonPropsFile $paramSet $setVersion $bumpVersion
56+
$newVersion = Get-NewProjectVersion $projFile $paramSet $setVersion $bumpVersion
5757

58-
Set-ProjectVersion $commonPropsFile $newVersion
59-
Invoke-CommitAndTagVersion $projectName $versionFiles $newVersion
58+
Set-ProjectVersion $projFile $newVersion
59+
Invoke-CommitAndTagVersion $projectName $versionFiles $newVersion

Build/set-version-UnitsNet.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ Import-Module "$PSScriptRoot\set-version.psm1"
5050

5151
$root = Resolve-Path "$PSScriptRoot\.."
5252
$paramSet = $PsCmdlet.ParameterSetName
53-
$commonPropsFile = "$root\UnitsNet\UnitsNet.Common.props"
53+
$projFile = "$root\UnitsNet\UnitsNet.csproj"
5454
$winrtAssemblyInfoFile = "$root\UnitsNet\Properties\AssemblyInfo.WindowsRuntimeComponent.cs"
5555
$winrtNuspecFile = "$root\UnitsNet.WindowsRuntimeComponent\UnitsNet.WindowsRuntimeComponent.nuspec"
56-
$versionFiles = @($commonPropsFile, $winrtAssemblyInfoFile, $winrtNuspecFile)
56+
$versionFiles = @($projFile, $winrtAssemblyInfoFile, $winrtNuspecFile)
5757
$projectName = "UnitsNet"
5858

5959
# Use UnitsNet.Common.props version as base if bumping major/minor/patch
60-
$newVersion = Get-NewProjectVersion $commonPropsFile $paramSet $setVersion $bumpVersion
60+
$newVersion = Get-NewProjectVersion $projFile $paramSet $setVersion $bumpVersion
6161

62-
Set-ProjectVersion $commonPropsFile $newVersion
62+
Set-ProjectVersion $projFile $newVersion
6363
Set-AssemblyInfoVersion $winrtAssemblyInfoFile $newVersion
6464
Set-NuspecVersion $winrtNuspecFile $newVersion
6565
Invoke-CommitAndTagVersion $projectName $versionFiles $newVersion

0 commit comments

Comments
 (0)