mirror of
https://github.com/orhun/git-cliff.git
synced 2024-11-29 05:14:41 +03:00
chore(project): add release script
This commit is contained in:
parent
c87fbbe7cf
commit
d76bb9b3e5
10
release.sh
Executable file
10
release.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
cargo run > CHANGELOG.md
|
||||
git add -A && git commit -m "chore(release): prepare for $1"
|
||||
git -c user.name="git-cliff" \
|
||||
-c user.email="git-cliff@protonmail.com" \
|
||||
-c user.signingkey="1D2D410A741137EBC544826F4A92FA17B6619297" \
|
||||
tag -s -a "$1" -m "$(cargo run -- -u -s all)"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user