Browse Source

Mudanças em release.sh

pull/2902/head
Edward Ribeiro 5 years ago
parent
commit
ef92e24901
  1. 9
      release.sh

9
release.sh

@ -72,19 +72,21 @@ function commit_and_push {
git commit -m "Release: $FINAL_VERSION"
git tag $FINAL_VERSION
echo "sending to github..."
git push origin
git push origin $FINAL_VERSION
echo "Para enviar pro github execute..."
echo "git push origin 3.1.x"
echo "git push origin "$FINAL_VERSION
echo "done."
}
case "$1" in
--latest)
git fetch
echo $LATEST_VERSION
exit 0
;;
--major)
git fetch
set_major_version
echo "generating major release: "$FINAL_VERSION
# git tag $FINAL_VERSION
@ -93,6 +95,7 @@ case "$1" in
exit 0
;;
--rc)
git fetch
set_rc_version
echo "generating release candidate: "$FINAL_VERSION
# git tag $FINAL_VERSION

Loading…
Cancel
Save