mirror of
https://github.com/h3pdesign/Neon-Vision-Editor
synced 2026-04-21 13:27:16 +00:00
ci: make release preflight tolerant to CRLF in README
This commit is contained in:
parent
c3b73d648b
commit
ac5c41dc9b
1 changed files with 3 additions and 3 deletions
|
|
@ -21,9 +21,9 @@ if grep -nE "^- TODO$" /tmp/release-notes-"$TAG".md >/dev/null; then
|
|||
echo "CHANGELOG section for ${TAG} still contains TODO entries." >&2
|
||||
exit 1
|
||||
fi
|
||||
grep -nE "^> Latest release: \\*\\*${TAG}\\*\\*$" README.md >/dev/null
|
||||
grep -nE "^- Latest release: \\*\\*${TAG}\\*\\*$" README.md >/dev/null
|
||||
grep -nE "^### ${TAG} \\(summary\\)$" README.md >/dev/null
|
||||
grep -nE "^> Latest release: \\*\\*${TAG}\\*\\*\\r?$" README.md >/dev/null
|
||||
grep -nE "^- Latest release: \\*\\*${TAG}\\*\\*\\r?$" README.md >/dev/null
|
||||
grep -nE "^### ${TAG} \\(summary\\)\\r?$" README.md >/dev/null
|
||||
|
||||
SAFE_TAG="$(echo "$TAG" | tr -c 'A-Za-z0-9_' '_')"
|
||||
WORK_DIR="/tmp/nve_release_preflight_${SAFE_TAG}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue