diff --git a/.env.dist b/.env.dist index 28423a20..bcc39b5f 100644 --- a/.env.dist +++ b/.env.dist @@ -1,3 +1,3 @@ -VERSION=1.3.1 +VERSION=1.3.2 PYPI_USERNAME=__token__ PYPI_PASSWORD= #api token diff --git a/Makefile b/Makefile index 5459d0c0..01758e07 100644 --- a/Makefile +++ b/Makefile @@ -35,10 +35,11 @@ set-version: ## set new package version echo "Updated version: ${GREEN}$$VERSION${RESET}" build: ## build module - python3 -m build +build: cleanup sed -E -i "s/^VERSION.+/VERSION=$$VERSION/" .env.dist + python3 -m build -## Making new release (test repo) +## Test repository upload-dev: ## upload module to test repository python3 -m twine upload --repository testpypi dist/* -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} @@ -46,16 +47,10 @@ upload-dev: ## upload module to test repository install-dev: ## install module from test repository pip install -i https://test.pypi.org/simple/ pytermor-delameter==${VERSION} -release-dev: ## build, upload and install using test repository -release-dev: cleanup build upload-dev install-dev - -## Making new release +## Primary repository upload: ## upload module python3 -m twine upload dist/* -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --verbose install: ## install module pip install pytermor==${VERSION} - -release: ## build, upload and install module -release: cleanup build upload install diff --git a/README.md b/README.md index 7e363db0..cb046c7b 100644 --- a/README.md +++ b/README.md @@ -780,6 +780,11 @@ As a rule of a thumb, **name** equals to **opening seq** in lower case.
CYAN
COLOR_OFF
gray
GRAY
COLOR_OFF
BG_CYAN
BG_COLOR_OFF
bg_gray
BG_GRAY
BG_COLOR_OFF