psbt_faker/Makefile
2020-02-11 08:49:02 -05:00

22 lines
441 B
Makefile

# This Makefile is only useful for maintainers of this package.
all:
echo Targets: build, tag, upload
.PHONY: build
build:
python3 setup.py sdist
.PHONY: upload
upload: FNAME := $(shell ls -1t dist/*-*gz | head -1)
upload:
gpg -u 5A2A5B10 --detach-sign -a $(FNAME)
twine upload $(FNAME)*
.PHONY: tag
tag: VER := $(shell python -c 'from setup import VERSION; print(VERSION)')
tag:
git tag v$(VER) -am "New release"
git push --tags