ci: fix outputting release message
This commit is contained in:
parent
b8fc001ccf
commit
151dc34f6e
2 changed files with 10 additions and 4 deletions
2
Justfile
2
Justfile
|
|
@ -86,4 +86,4 @@ release crate="rustypipe":
|
|||
git add "$CHANGELOG" "$CARGO_TOML"
|
||||
git commit -m "chore(release): release $CRATE v$VERSION"
|
||||
|
||||
awk 'BEGIN{RS="(^|\n)## "} NR==2 { print "##",$0 }' "$CHANGELOG" | git tag -a -F - --cleanup whitespace "${CRATE}/v${VERSION}"
|
||||
awk 'BEGIN{RS="(^|\n)## [^\n]+\n*"} NR==2 { print }' "$CHANGELOG" | git tag -as -F - --cleanup whitespace "${CRATE}/v${VERSION}"
|
||||
|
|
|
|||
Reference in a new issue