Skip to content

Commit db29c67

Browse files
committed
Correcting deploy.sh check for version number change
1 parent ffeec85 commit db29c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +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
8+
git diff --quiet setup.py && echo "Unsupported version format (release?)" && exit 0
99
python setup.py egg_info sdist bdist_wheel
1010
twine upload -c "Built by CI. Uploaded after $(date +"%Y-%m-%d %H:%M:%S")" dist/rdflib-sqlalchemy*tar.gz dist/rdflib_sqlalchemy*whl

0 commit comments

Comments
 (0)