Skip to content

Commit 259dde0

Browse files
authored
Merge pull request #333 from aperture-data/release-0.4.12
2 parents 44e7854 + f7f5041 commit 259dde0

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

aperturedb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
logger = logging.getLogger(__name__)
99

10-
__version__ = "0.4.11"
10+
__version__ = "0.4.12"
1111

1212
# set log level
1313
logger.setLevel(logging.DEBUG)

docker/release/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM ubuntu:22.04
2+
ENV DEBIAN_FRONTEND=noninteractive
3+
RUN apt update && apt upgrade -y && apt install -y --no-install-recommends \
4+
python3-dev \
5+
python3-pip
6+
ARG VERSION
7+
RUN pip3 install aperturedb==${VERSION}

publish.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
echo "Building aperturedb"
12
rm -rf build/ dist/ vdms.egg-info/
23
python3 -m build
4+
5+
echo "Uploading aperturedb"
36
twine upload --skip-existing --verbose dist/*
7+
8+
RELEASE_IMAGE="aperturedata/aperturedb-python:latest"
9+
source version.sh && read_version
10+
echo "Building image ${RELEASE_IMAGE}"
11+
docker build --no-cache -t ${RELEASE_IMAGE} \
12+
--build-arg="VERSION=${BUILD_VERSION}" -f docker/release/Dockerfile .
13+
docker push ${RELEASE_IMAGE}

0 commit comments

Comments
 (0)