File size: 299 Bytes
065fee7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.PHONY: all clean release force_release

all:
	@awk -F: '/^[[:alpha:]].*:/ && !/^all:/ {print $$1}' Makefile

clean:
	rm -rf build/ dist/ .eggs/ .tox/

release: clean
	./check-version.sh
	make force_release

force_release: clean
	./build-release.sh
	twine upload dist/*
	git push --tags origin main