Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8feaf84860 | |||
| ae55d2e81a |
4
.github/workflows/release-on-tag.yml
vendored
4
.github/workflows/release-on-tag.yml
vendored
@@ -37,8 +37,8 @@ jobs:
|
||||
$range = $currentTag
|
||||
$commitTitle = "## Commits in $currentTag"
|
||||
}
|
||||
$commits = git log $range --pretty=format:"- %s (%h)"
|
||||
if (-not $commits) {
|
||||
$commits = (git log $range --pretty=format:"- %s (%h)") -join "`n"
|
||||
if ([string]::IsNullOrWhiteSpace($commits)) {
|
||||
$commits = "- No commits found."
|
||||
}
|
||||
@"
|
||||
|
||||
Reference in New Issue
Block a user