Automatically init tag message with last changelog.
This commit is contained in:
parent
ac7db1d15e
commit
fd51f8ffc1
2
build.sh
2
build.sh
|
@ -19,7 +19,7 @@ strip_rc_ver() {
|
||||||
VER=$(grep '"version":' "$MANIFEST_IN" | sed -re 's/.*": "(.*?)".*/\1/')
|
VER=$(grep '"version":' "$MANIFEST_IN" | sed -re 's/.*": "(.*?)".*/\1/')
|
||||||
if [ "$1" == "tag" ]; then
|
if [ "$1" == "tag" ]; then
|
||||||
echo "Tagging at $VER"
|
echo "Tagging at $VER"
|
||||||
git tag -a "$VER"
|
git tag -a "$VER" -e -m"$(gitcl 2>/dev/null)"
|
||||||
git push origin "$VER"
|
git push origin "$VER"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue