We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb6e305 commit 2d0925eCopy full SHA for 2d0925e
check_tag.sh
@@ -0,0 +1,11 @@
1
+#! /bin/bash
2
+
3
+grep __version__ "$1"
4
5
+if [[ -n "$TRAVIS_TAG" ]]; then
6
+ if ! grep $TRAVIS_TAG "$1"; then
7
+ echo Tag $TRAVIS_TAG does not match setup.py version. Bail.
8
+ exit 1
9
+ fi
10
+fi
11
+exit 0
0 commit comments