Fix Makefile

This commit is contained in:
Alex Root Junior 2017-11-19 02:03:09 +02:00
parent 3c574be9d4
commit e2b82af8b1

View file

@ -1,5 +1,6 @@
VENV_NAME := venv
PYTHON := $(VENV_NAME)/bin/python
AIOGRAM_VERSION := $(shell $(PYTHON) -c "import aiogram;print(aiogram.__version__)")
mkvenv:
virtualenv $(VENV_NAME)
@ -14,7 +15,6 @@ clean:
rm --force --recursive *.egg-info
tag:
AIOGRAM_VERSION := $(shell $(PYTHON) -c "import aiogram;print(aiogram.__version__)")
@echo "Add tag: '$(AIOGRAM_VERSION)'"
git tag v$(AIOGRAM_VERSION)
@ -25,7 +25,6 @@ upload:
twine upload dist/*
release:
AIOGRAM_VERSION := $(shell $(PYTHON) -c "import aiogram;print(aiogram.__version__)")
make clean
make tag
make build