File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 23
23
runs-on : ubuntu-latest
24
24
strategy :
25
25
matrix :
26
- python-version : [3.6, 3.7, 3.8]
26
+ python-version : [3.6, 3.7, 3.8, 3.9 ]
27
27
steps :
28
28
- uses : actions/setup-python@v2
29
29
with :
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ default:
4
4
@echo " \" make publish\" ?"
5
5
6
6
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
9
9
curl -H " Authorization: token ` cat $( HOME) /.github-access-token` " -d ' {"tag_name": "v$(VERSION)"}' https://api.github.com/repos/nschloe/tikzplotlib/releases
10
10
11
11
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
13
13
# https://stackoverflow.com/a/58756491/353337
14
- python3 -m pep517. build --source --binary .
14
+ python3 -m build --sdist --wheel .
15
15
twine upload dist/*
16
16
17
17
publish : tag upload
Original file line number Diff line number Diff line change @@ -37,6 +37,3 @@ install_requires =
37
37
numpy
38
38
Pillow
39
39
python_requires = >=3.6
40
- setup_requires =
41
- setuptools>=42
42
- wheel
You can’t perform that action at this time.
0 commit comments