🔧 misc(release): remove link comparison

main
welpo
parent 7b13798a68
commit e2358f7edf
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -60,6 +60,8 @@ changelog=$(echo "$changelog" | sed -E 's/\*\(([^)]+)\)\* //g')
changelog=$(echo "$changelog" | sed -E 's/\[\@([a-zA-Z0-9_]+)\]\(https:\/\/github\.com\/[a-zA-Z0-9_]+\)/@\1/g')
# Remove markdown headers.
changelog=$(echo "$changelog" | sed -E 's/^#+ //g')
# Remove version comparison lines.
changelog=$(echo "$changelog" | sed '/https:\/\/github\.com\/.*\/compare\/.*/d')
# Create a signed and annotated tag.
git tag -s -a "$VERSION_TAG" -m "Release $VERSION_TAG" -m "$changelog"

Loading…
Cancel
Save