File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323 - uses : actions/checkout@v2
2424 - name : Compile image
2525 run : |
26- export PKG_NAME=$(cat setup.py | awk -F\' '/pkg_name = / {print $2}')
26+ export PKG_NAME=$(cat setup.py | awk -F\' '/ name= / {print $2}')
2727 export PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\' '/__version__ = / {print $2}')
2828 export HOST_UID=$(id -u)
2929 docker-compose -f docker-compose-build.yaml up --exit-code-from element --build
6161 - uses : actions/checkout@v2
6262 - name : Determine package version
6363 run : |
64- PKG_NAME=$(cat setup.py | awk -F\' '/pkg_name = / {print $2}')
64+ PKG_NAME=$(cat setup.py | awk -F\' '/ name= / {print $2}')
6565 PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\' '/__version__ = / {print $2}')
6666 echo "PKG_NAME=${PKG_NAME}" >> $GITHUB_ENV
6767 echo "PKG_VERSION=${PKG_VERSION}" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 1- # PY_VER=3.8 IMAGE=djbase DISTRO=alpine PKG_NAME=$(cat setup.py | awk -F\' '/pkg_name = / {print $2}') PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\' '/__version__/ {print $2}') HOST_UID=$(id -u) docker-compose -f docker-compose-build.yaml up --exit-code-from element --build
1+ # PY_VER=3.8 IMAGE=djbase DISTRO=alpine PKG_NAME=$(cat setup.py | awk -F\' '/ name= / {print $2}') PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\' '/__version__/ {print $2}') HOST_UID=$(id -u) docker-compose -f docker-compose-build.yaml up --exit-code-from element --build
22#
33# Intended for updating dependencies and docker image.
44# Used to build release artifacts.
You can’t perform that action at this time.
0 commit comments