Skip to content

Commit 6b1766f

Browse files
committed
chore: Remove outdated publishing information
1 parent 126ba45 commit 6b1766f

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

Makefile

+1-18
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: test publish install clean clean-build clean-pyc clean-test build upload-docs
1+
.PHONY: test publish install clean clean-build clean-pyc clean-test build
22

33
install:
44
python setup.py install
@@ -30,20 +30,3 @@ test:
3030

3131
build:
3232
python setup.py build
33-
34-
upload-docs:
35-
python setup.py build_sphinx
36-
python setup.py upload_docs
37-
38-
publish: clean test build
39-
@git diff-index --quiet HEAD || (echo "git has uncommitted changes. Refusing to publish." && false)
40-
git describe --tags --abbrev=0 | awk 'BEGIN { FS = "." }; { printf("%d.%d.%d", $$1, $$2, $$3+1) }' VERSION.incr
41-
git tag `cat VERSION.incr`
42-
rm VERSION.incr
43-
git push
44-
git push --tags
45-
python setup.py register -r pypi || (echo "Was unable to register to pypi, aborting publish." && false)
46-
python setup.py sdist upload -r pypi || (echo "Was unable to upload to pypi, publish failed." && false)
47-
@echo
48-
@echo "\033[92mSUCCESS: published v`cat VERSION` \033[0m"
49-
@echo

0 commit comments

Comments
 (0)