Explorar o código

add release push command

Francisco Giordano %!s(int64=6) %!d(string=hai) anos
pai
achega
6a01da193e
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      scripts/release/release.sh

+ 4 - 1
scripts/release/release.sh

@@ -81,7 +81,10 @@ environment_check() {
 
 environment_check
 
-if [[ "$*" == "start minor" ]]; then
+if [[ "$*" == "push" ]]; then
+  push_and_publish next
+
+elif [[ "$*" == "start minor" ]]; then
   log "Creating new minor pre-release"
 
   assert_current_branch master