Skip to content

Commit

Permalink
Closes #14
Browse files Browse the repository at this point in the history
  • Loading branch information
drmjc committed May 6, 2022
1 parent 5f9cd5b commit 54dccc8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ RUN \
#RUN pip install -i https://test.pypi.org/simple/ mitywgs==0.2.2rc2

# Install mity
RUN pip install mitywgs==0.3.0
RUN pip install mitywgs==0.3.1

WORKDIR /home

Expand Down
2 changes: 1 addition & 1 deletion Readme.Developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ samtools view -b -o NA12878.alt_bwamem_GRCh38DH.20150718.CEU.low_coverage.chrM.b

# Docker
```
version=0.3.0
version=0.3.1
docker build --tag=latest --tag=$version --tag=drmjc/mity:latest --tag=drmjc/mity:$version .
docker push drmjc/mity # equivalent to docker push drmjc/mity:latest
docker push drmjc/mity:$version
Expand Down
10 changes: 9 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,16 @@ function test {
-u drmjc \
dist/mitywgs-${version}*
}

function public {
twine upload --verbose --non-interactive -u drmjc dist/mitywgs-${version}*
}

function docker {
docker build --tag=latest --tag=${version} --tag=drmjc/mity:latest --tag=drmjc/mity:${version} .
docker push drmjc/mity # equivalent to docker push drmjc/mity:latest
docker push drmjc/mity:${version}
docker run drmjc/mity version
}
#test
public
public && docker
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile
# This file is autogenerated by pip-compile with python 3.7
# To update, run:
#
# pip-compile
Expand Down

0 comments on commit 54dccc8

Please sign in to comment.