Skip to content

Commit a51550c

Browse files
committed
Version bump
1 parent f131f03 commit a51550c

File tree

4 files changed

+13
-35
lines changed

4 files changed

+13
-35
lines changed

.github/workflows/pre_release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ jobs:
99
runs-on: ubuntu-20.04
1010
steps:
1111
- uses: actions/checkout@v2
12+
- name: Push Docker image to Docker Hub
13+
uses: docker/build-push-action@v2
14+
with:
15+
build-args: PIP_FLAGS="--pre"
16+
push: true
17+
username: ${{ secrets.DOCKER_USERNAME }}
18+
password: ${{ secrets.DOCKER_PASSWORD }}
19+
repository: superannotate/pythonsdk
20+
tag_with_ref: true
1221
- name: Set up Python
1322
uses: actions/setup-python@v2
1423
with:
@@ -26,12 +35,3 @@ jobs:
2635
uses: pypa/gh-action-pypi-publish@master
2736
with:
2837
password: ${{ secrets.pypi_password }}
29-
- name: Push Docker image to Docker Hub
30-
uses: docker/build-push-action@v2
31-
with:
32-
push: true
33-
username: ${{ secrets.DOCKER_USERNAME }}
34-
password: ${{ secrets.DOCKER_PASSWORD }}
35-
repository: superannotate/pythonsdk
36-
tag_with_ref: true
37-
file: ./Dockerfile_prerelease

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM ubuntu:20.04
22
ENV LANG C.UTF-8
33

4+
ARG PIP_FLAGS
5+
46
SHELL ["/bin/bash", "-c"]
57

68
ENV DEBIAN_FRONTEND noninteractive
@@ -15,7 +17,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
1517
RUN update-alternatives --install /usr/local/bin/pip pip /usr/bin/pip3 1
1618

1719
RUN apt-get install -y build-essential && \
18-
pip install --no-cache-dir superannotate && \
20+
pip install --no-cache-dir $PIP_FLAGS superannotate && \
1921
apt-get remove -y build-essential && \
2022
apt-get -y autoremove && \
2123
rm -rf /root/.cache/pip && \

Dockerfile_prerelease

Lines changed: 0 additions & 24 deletions
This file was deleted.

superannotate/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.0.0b3"
1+
__version__ = "3.0.0b4"

0 commit comments

Comments
 (0)