Make build.sh tag push even already created tags.
This commit is contained in:
parent
eb3dbf9f4b
commit
7866f63d8f
3
build.sh
3
build.sh
|
@ -19,7 +19,8 @@ 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 push origin "$VER"
|
git tag -a "$VER"
|
||||||
|
git push origin "$VER"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [[ "$1" =~ ^r(el(ease)?)?$ ]]; then
|
if [[ "$1" =~ ^r(el(ease)?)?$ ]]; then
|
||||||
|
|
Loading…
Reference in New Issue