Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 21b8e30

Browse files
Clean before building release
This should prevent accidentally uploading anything we don't intend to; otherwise we were re-sending older versions too when making a realease. Test plan: crossed fingers Auditors: csilvers
1 parent e69c767 commit 21b8e30

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ test:
1010
lint:
1111
flake8
1212

13-
check: lint test
13+
check: lint test ;
14+
15+
clean:
16+
git clean -xffd
1417

1518
build: dev_deps
1619
python setup.py sdist # builds source distribution
1720
python setup.py bdist_wheel # builds wheel
1821

19-
release: build
22+
release: clean build
2023
twine upload dist/*
2124

2225
.PHONY: deps test lint build release

0 commit comments

Comments
 (0)