From e2b82af8b14e0d833d01b911cb3aa86d09d2b174 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Sun, 19 Nov 2017 02:03:09 +0200 Subject: [PATCH] Fix Makefile --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4e5cfc2d..6ed9eecf 100644 --- a/Makefile +++ b/Makefile @@ -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