Commit aa3848e4 authored by Huihui, Jonathan's avatar Huihui, Jonathan
Browse files

bump common version

parent c5b07104
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
FROM python:3.9-slim
FROM --platform=linux/amd64 python:3.9-slim

RUN apt-get -yqq update && apt-get -yqq upgrade && \
      apt-get -yqq install vim && apt-get -yqq install postgresql-client
+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 pull
      #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"
@@ -52,7 +52,8 @@ while :; do
      perl -pi.bak -e "$COMMON_SETUP_REGEX" "$COMMON_SETUP_FILE"
      perl -pi.bak -e "$COMMON_README_REGEX" "$COMMON_README_FILE"
      perl -pi.bak -e "$COMMON_README_ADDTL_REGEX" "$COMMON_README_FILE"
      ./src/upload.sh
      cd ./src && ./upload.sh
      cd ..
      ./build.sh --tag "$COMMON_VERSION"
      git add src/setup.py README.md && \
      git commit -m 'bump common version' && \