We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 434768d commit 4bc887dCopy full SHA for 4bc887d
update_version.sh
@@ -1,3 +1,6 @@
1
#!/bin/sh
2
-if [ -z $1 ]; then echo "error: $0 needs a version number as argument."; fi
3
-sed -i "s/^__version__.*/__version__ = '$1'/g" dropbox/dropbox.py
+if [ -z $1 ]; then
+ echo "error: $0 needs a version number as argument. Current version: `python -c 'import dropbox; print(dropbox.__version__)'`";
4
+else
5
+ sed -i "s/^__version__.*/__version__ = '$1'/g" dropbox/dropbox.py
6
+fi
0 commit comments