Do not backup version.py (under version control and frankly, not that complex)
authorPhilipp Hagemeister <phihag@phihag.de>
Sat, 12 Jan 2013 22:04:46 +0000 (23:04 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sat, 12 Jan 2013 22:04:46 +0000 (23:04 +0100)
devscripts/release.sh

index bb3180b26cd2f4e29f65b0497a68430cbae7b160..561499ccb4884def99fe2cdd5415a99eba135ff2 100755 (executable)
@@ -25,7 +25,7 @@ make clean
 nosetests --with-coverage --cover-package=youtube_dl --cover-html test || exit 1
 
 echo "\n### Changing version in version.py..."
-sed -i~ "s/__version__ = '.*'/__version__ = '$version'/" youtube_dl/version.py
+sed -i "s/__version__ = '.*'/__version__ = '$version'/" youtube_dl/version.py
 
 echo "\n### Committing CHANGELOG README.md and youtube_dl/version.py..."
 make README.md