Skip to content

Commit a93a034

Browse files
committed
Merge branch 'release/0.5.0' into develop
2 parents 11019eb + 6e0c76d commit a93a034

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ git log --format=%s -n 1 "$HEAD_REV" | grep -q '^MINOR:' && exit 0
55

66
date=$(date +"%Y%m%d%H%M%S")
77
sed -i -r 's/^version = "([^"]+)(\.dev|a)0"$/version = "\1\2'$date'"/' setup.py
8+
git diff -q setup.py && echo "Unsupported version format (release?)" && exit 0
89
python setup.py egg_info sdist bdist_wheel
910
twine upload -c "Built by CI. Uploaded after $(date +"%Y-%m-%d %H:%M:%S")" dist/rdflib-sqlalchemy*tar.gz dist/rdflib_sqlalchemy*whl

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py27,py37,py38,py39,lint
3+
py27,py37,py38,py39,py310,lint
44

55
[testenv]
66
passenv = DB DBURI
@@ -12,7 +12,7 @@ commands =
1212
deps =
1313
psycopg2
1414
mysqlclient
15-
py{37,38,39}: mysql-connector
15+
py{37,38,39,310}: mysql-connector
1616

1717
[testenv:lint]
1818
commands = flake8 rdflib_sqlalchemy test
@@ -39,6 +39,7 @@ python =
3939
3.7: py37, lint
4040
3.8: py38
4141
3.9: py39
42+
3.10: py310
4243

4344
[flake8]
4445
max-line-length = 120

0 commit comments

Comments
 (0)