Commit 75fa858c authored by Huihui, Jonathan's avatar Huihui, Jonathan
Browse files

add git push and pull

parent 3093b1e1
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ while :; do
  case $1 in 
    release)
      info "Checking out develop branch."
      git checkout develop
      git checkout develop && git pull
      COMMON_VERSION=$(cat COMMON_VERSION)
      COMMON_SETUP_REGEX="s/(?<=version \= ')\d+\.\d+\.\d+/$COMMON_VERSION/g"
      COMMON_README_REGEX="s/(?<=common\=\=)\d+\.\d+\.\d+/$COMMON_VERSION/g"
@@ -55,7 +55,8 @@ while :; do
      ./src/upload.sh
      ./build.sh --tag "$COMMON_VERSION"
      git add src/setup.py README.md && \
      git commit -m 'bump common version'
      git commit -m 'bump common version' && \
      git push
      exit
      ;;
    -h|-\?|--help)