Skip to content

Commit

Permalink
build: sem rel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelin committed Nov 8, 2019
1 parent bffcea4 commit 9b0382c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version = 1

[[analyzers]]
name = "python"
enabled = true
runtime_version = "3.x.x"
4 changes: 2 additions & 2 deletions build/Prod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ LABEL maintainer="Ivelin Ivanov <[email protected]>"
VOLUME /workspace

WORKDIR /opt/ambianic
COPY src/ /src/
RUN ls -la /src/* && pip3 install -e src
COPY ["./src", "./src/"]
RUN ls -la ./src/* && pip3 install -e src

WORKDIR /workspace

Expand Down
4 changes: 4 additions & 0 deletions build/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ a=( ${RELEASE_VERSION//./ } )
MAJOR=${a[0]}
MINOR=${a[1]}
PATCH=${a[2]}
echo "RELEASE_VERSION=$RELEASE_VERSION"
echo "MAJOR=$MAJOR"
echo "MINOR=$MAJOR.$MINOR"
echo "PATCH=$PATCH"
docker tag ambianic/ambianic:latest ambianic/ambianic:$MAJOR
docker push ambianic/ambianic:$MAJOR
docker tag ambianic/ambianic:latest ambianic/ambianic:"$MAJOR.$MINOR"
Expand Down

0 comments on commit 9b0382c

Please sign in to comment.