meta: capture only up to first : when generating release notes
This commit is contained in:
parent
1a1c88a8b5
commit
ff5a32de2a
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
VERSION=$(git describe --exact-match --tags)
|
||||
LAST=$(git describe --abbrev=0 --tags ${VERSION}^)
|
||||
CHANGELOG=$(git log --pretty=format:%s ${LAST}..HEAD | grep ':' | sed -re 's/(.*)\:/- \`\1\`\:/' | sort)
|
||||
CHANGELOG=$(git log --pretty=format:%s ${LAST}..HEAD | grep ':' | sed -re 's/([^:]*)\:/- \`\1\`\:/' | sort)
|
||||
cat <<NOTES
|
||||
# ToaruOS ${VERSION}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user