Skip to content

Commit

Permalink
Enhancement (entrypoint): Add verbose output for environment variable…
Browse files Browse the repository at this point in the history
… `RELEASE_NAME`
  • Loading branch information
joeltimothyoh committed Jun 1, 2024
1 parent 6e846f6 commit 4337440
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/scripts/ci/Invoke-Release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ try {
ApiKey = $env:GITHUB_API_TOKEN
TagName = $env:RELEASE_TAG_REF
TargetCommitish = git --git-dir "$($private:ProjectDir)/.git" rev-parse $env:RELEASE_TAG_REF
Name = if ($env:RELEASE_NAME) { $env:RELEASE_NAME } else { $env:RELEASE_TAG_REF }
Name = if ($env:RELEASE_NAME) {
"Using specified release name '$env:RELEASE_NAME'" | Write-Verbose
$env:RELEASE_NAME
}else {
"Using specified ref '$env:RELEASE_TAG_REF' as the release name" | Write-Verbose
$env:RELEASE_TAG_REF
}
}
if ($env:RELEASE_NOTES_PATH) {
"Sourcing from specified release notes path '$env:RELEASE_NOTES_PATH'" | Write-Verbose
Expand Down

0 comments on commit 4337440

Please sign in to comment.