Skip to content

Commit 1075484

Browse files
committed
Don't force unversioned output
1 parent cd317c1 commit 1075484

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

PSModuleBuild.Task.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ Add-BuildTask PSModuleBuild @{
33
Inputs = { Get-ChildItem -Path $PSModuleSourceRoot -Recurse -Filter *.ps* }
44
Outputs = { Join-Path $OutputRoot $PSModuleName "$PSModuleName.psm1" } # don't take off the script block, need to resolve AFTER init
55
Jobs = "PSModuleRestore", {
6-
Build-Module -SourcePath $PSModuleSourcePath -Destination $PSModuleOutputPath -UnversionedOutputDirectory -SemVer $script:GitVersion['NuGetVersionV2']
6+
Build-Module -SourcePath $PSModuleSourcePath -Destination $PSModuleOutputPath -SemVer $script:GitVersion['NuGetVersionV2']
77
}
88
}

PSModulePublish.Task.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Add-BuildTask PSModulePublish {
3737
Write-Warning ("Skipping deployment: To deploy, ensure that...`n" +
3838
"`t* You are in a known build system (Current: $BuildSystem)`n" +
3939
"`t* You are committing to the main branch (Current: $BranchName) `n" +
40-
"`t* The repository APIKey is defined in `$PSModulePublishKey (Current: $(![string]::IsNullOrWhiteSpace($PSModulePublishKey))) `n" +
41-
"`t* This is not a pull request")
40+
"`t* The repository APIKey is defined in `$PSModulePublishKey (Current: $(![string]::IsNullOrWhiteSpace($PSModulePublishKey)))")
4241
}
4342
}

0 commit comments

Comments
 (0)