Skip to content
This repository was archived by the owner on Jul 18, 2022. It is now read-only.

Commit 880bf27

Browse files
committedMar 18, 2021
Fix release Makefile
1 parent 977bb64 commit 880bf27

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed
 

‎Makefile

+7-6
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@ VERSION=`python -c "import dikort; print(dikort.__version__)"`
33

44
release: push
55

6-
push: build py_push docker_push
6+
push: py_push docker_push
77

88
build: py_build docker_build
99

1010
py_build: clean
1111
python -m build
1212

13-
docker_build: clean py_push
14-
docker build . -t weastur/dikort:latest -t weastur/dikort:$VERSION
13+
docker_build: clean
14+
docker build . -t weastur/dikort:latest -t weastur/dikort:${VERSION}
1515

1616
py_push: py_build
17-
twine upload dist/dikort-$VERSION*
17+
twine upload dist/dikort-${VERSION}*
1818

19-
docker_push: clean docker_build
20-
docker push weastur/dikort:latest weastur/dikort:$VERSION
19+
docker_push: docker_build
20+
docker push weastur/dikort:latest
21+
docker push weastur/dikort:${VERSION}
2122

2223
clean:
2324
rm -rf build/ dikort.egg-info/ dist

0 commit comments

Comments
 (0)
This repository has been archived.