release.sh: update the changelog with the new version

The section must be titled '@DEV@'
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-11-03 15:51:57 +01:00
parent 6206a953e1
commit 41aa1cb603
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
<!-- The section for the version in developement must be titled '@DEV@' -->
# 2013.01.02 Codename: GIULIA
* Add support for ComedyCentral clips <nto>

View File

@ -34,8 +34,9 @@ else
nosetests --verbose --with-coverage --cover-package=youtube_dl --cover-html test --stop || exit 1
fi
/bin/echo -e "\n### Changing version in version.py..."
/bin/echo -e "\n### Changing version in version.py and CHANGELOG..."
sed -i "s/__version__ = '.*'/__version__ = '$version'/" youtube_dl/version.py
sed -i "s/@DEV@/$version/" CHANGELOG.md
/bin/echo -e "\n### Committing CHANGELOG.md README.md and youtube_dl/version.py..."
make README.md