Skip to content

Commit

Permalink
Fix bad newline in create release tag workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle committed Jul 25, 2024
1 parent 34c1da0 commit 7e40dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
$SemVer = "${{ github.event.inputs.semver }}"
if ($SemVer -eq "") {
$ShortCommit = & git rev-parse --short=8 "${{ github.event.inputs.git_ref }}" | Out-String
$ShortCommit = (& git rev-parse --short=8 "${{ github.event.inputs.git_ref }}" | Out-String).Trim()
$SemVer = "0.0.0-$ShortCommit"
}
if (-not $SemVer -match "^v\d+\.\d+\.\d+(-\w+)?$") {
Expand Down

0 comments on commit 7e40dec

Please sign in to comment.