Skip to content

Commit 6321356

Browse files
authored
Merge pull request #84 from drallgood/develop
fix release process
2 parents e2d83ad + cdc2e23 commit 6321356

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@ jobs:
275275
echo "### Changelog" >> body.md
276276
echo "" >> body.md
277277
awk -v ver="$TAG_NAME" '
278-
$0 ~ "^## \\[" ver "\\]" { in_section=1 }
278+
index($0, "## [" ver "]") == 1 { in_section=1 }
279279
in_section {
280-
if ($0 ~ /^## \\[/ && $0 !~ "^## \\[" ver "\\]") { exit }
280+
if (index($0, "## [") == 1 && index($0, "## [" ver "]") != 1) { exit }
281281
print
282282
}
283283
' CHANGELOG.md >> body.md

0 commit comments

Comments
 (0)