diff --git a/Dockerfile b/Dockerfile index b121428..067d9f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Readme.Developer.md b/Readme.Developer.md index 26c4610..f0fccb9 100644 --- a/Readme.Developer.md +++ b/Readme.Developer.md @@ -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 diff --git a/build.sh b/build.sh index bd23b9b..7eee1ee 100755 --- a/build.sh +++ b/build.sh @@ -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 diff --git a/requirements.txt b/requirements.txt index 2c8f30a..4cec80c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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