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 23
23
- uses : actions/checkout@v2
24
24
- name : Compile image
25
25
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}')
27
27
export PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\' '/__version__ = / {print $2}')
28
28
export HOST_UID=$(id -u)
29
29
docker-compose -f docker-compose-build.yaml up --exit-code-from element --build
61
61
- uses : actions/checkout@v2
62
62
- name : Determine package version
63
63
run : |
64
- PKG_NAME=$(cat setup.py | awk -F\' '/pkg_name = / {print $2}')
64
+ PKG_NAME=$(cat setup.py | awk -F\' '/ name= / {print $2}')
65
65
PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\' '/__version__ = / {print $2}')
66
66
echo "PKG_NAME=${PKG_NAME}" >> $GITHUB_ENV
67
67
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
2
2
#
3
3
# Intended for updating dependencies and docker image.
4
4
# Used to build release artifacts.
You can’t perform that action at this time.
0 commit comments