Skip to content

Commit f337dc4

Browse files
authored
Merge pull request #456 from nschloe/rename-master-main
rename master -> main
2 parents 7504127 + 425ea68 commit f337dc4

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
python-version: [3.6, 3.7, 3.8]
26+
python-version: [3.6, 3.7, 3.8, 3.9]
2727
steps:
2828
- uses: actions/setup-python@v2
2929
with:

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)