Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
delameter committed Mar 29, 2022
1 parent ce1503a commit 546b1c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.dist
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VERSION=0.9.9
VERSION=1.0.0
PYPI_USERNAME=__token__
PYPI_PASSWORD= #api token
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ cleanup:

## Generic commands

prepare:
python3 -m pip install --upgrade build twine

set-version: ## set new package version
@echo "Current version: ${YELLOW}${VERSION}${RESET}"
read -p "New version (press enter to keep current): " VERSION
Expand Down Expand Up @@ -46,10 +49,10 @@ release-dev: cleanup build upload-dev install-dev
## Primary repository

upload: ## upload module
echo "upload"
python3 -m twine upload dist/* -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD}

install: ## install module
echo "install"
pip install -i pytermor==${VERSION}

release: ## build, upload and install module
release: cleanup build upload install
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pytermor-delameter
version = 0.9.9
name = pytermor
version = 1.0.0
author = Aleksandr Shavykin
author_email = 0.delameter@gmail.com
description = ANSI formatted terminal output toolset
Expand Down

0 comments on commit 546b1c5

Please sign in to comment.