mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix Makefile
This commit is contained in:
parent
3c574be9d4
commit
e2b82af8b1
1 changed files with 1 additions and 2 deletions
3
Makefile
3
Makefile
|
|
@ -1,5 +1,6 @@
|
||||||
VENV_NAME := venv
|
VENV_NAME := venv
|
||||||
PYTHON := $(VENV_NAME)/bin/python
|
PYTHON := $(VENV_NAME)/bin/python
|
||||||
|
AIOGRAM_VERSION := $(shell $(PYTHON) -c "import aiogram;print(aiogram.__version__)")
|
||||||
|
|
||||||
mkvenv:
|
mkvenv:
|
||||||
virtualenv $(VENV_NAME)
|
virtualenv $(VENV_NAME)
|
||||||
|
|
@ -14,7 +15,6 @@ clean:
|
||||||
rm --force --recursive *.egg-info
|
rm --force --recursive *.egg-info
|
||||||
|
|
||||||
tag:
|
tag:
|
||||||
AIOGRAM_VERSION := $(shell $(PYTHON) -c "import aiogram;print(aiogram.__version__)")
|
|
||||||
@echo "Add tag: '$(AIOGRAM_VERSION)'"
|
@echo "Add tag: '$(AIOGRAM_VERSION)'"
|
||||||
git tag v$(AIOGRAM_VERSION)
|
git tag v$(AIOGRAM_VERSION)
|
||||||
|
|
||||||
|
|
@ -25,7 +25,6 @@ upload:
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
|
|
||||||
release:
|
release:
|
||||||
AIOGRAM_VERSION := $(shell $(PYTHON) -c "import aiogram;print(aiogram.__version__)")
|
|
||||||
make clean
|
make clean
|
||||||
make tag
|
make tag
|
||||||
make build
|
make build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue