Skip to content

Commit 2fe8719

Browse files
committed
rename master -> main
1 parent 7504127 commit 2fe8719

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ default:
44
@echo "\"make publish\"?"
55

66
tag:
7-
# Make sure we're on the master branch
8-
@if [ "$(shell git rev-parse --abbrev-ref HEAD)" != "master" ]; then exit 1; fi
7+
# Make sure we're on the main branch
8+
@if [ "$(shell git rev-parse --abbrev-ref HEAD)" != "main" ]; then exit 1; fi
99
curl -H "Authorization: token `cat $(HOME)/.github-access-token`" -d '{"tag_name": "v$(VERSION)"}' https://api.github.com/repos/nschloe/tikzplotlib/releases
1010

1111
upload: clean
12-
@if [ "$(shell git rev-parse --abbrev-ref HEAD)" != "master" ]; then exit 1; fi
12+
@if [ "$(shell git rev-parse --abbrev-ref HEAD)" != "main" ]; then exit 1; fi
1313
# https://stackoverflow.com/a/58756491/353337
14-
python3 -m pep517.build --source --binary .
14+
python3 -m build --sdist --wheel .
1515
twine upload dist/*
1616

1717
publish: tag upload

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,3 @@ install_requires =
3737
numpy
3838
Pillow
3939
python_requires = >=3.6
40-
setup_requires =
41-
setuptools>=42
42-
wheel

0 commit comments

Comments
 (0)