Publish version 1.3

This commit is contained in:
Vincent Jacques
2012-07-13 21:56:42 +02:00
parent b9c4eef489
commit e6c64ab31e
3 changed files with 29 additions and 10 deletions
+7
View File
@@ -56,6 +56,13 @@ Projects using PyGithub
History
=======
Version 1.3 (July 13th, 2012)
-----------------------------
* Implement [markdown rendering](http://developer.github.com/v3/markdown/)
* `GitAuthor.date` is now a datetime, thank you [bilderbuchi](https://github.com/bilderbuchi)
* Fix documentation of `Github.get_gist`: `id` is a string, not an integer
Version 1.2 (June 29th, 2012)
-----------------------------
+21 -9
View File
@@ -1,14 +1,26 @@
#!/bin/sh
./run_tests.sh
previousVersion=$( grep 'version =' setup.py | sed 's/.*version = \"\(.*\)\".*/\1/' )
echo "Next version number? (previous: '$previousVersion')"
read version
sed -i -b "s/version = .*/version = \"$version\",/" setup.py
git add setup.py
echo "Edit ReadMe.md now, then press enter"
read
git add ReadMe.md
echo "Breack (Ctrl+c) here if something is wrong. Else, press enter"
read
git commit -m "Publish version $version"
git tag -m "Version $version" v$version
cp -r *.md doc COPYING* github
python setup.py sdist
python setup.py sdist upload
rm -rf github/*.md github/doc github/COPYING*
echo "Type 'yes' if everything is right and you want to publish the package"
read yes
if [ "x$yes" == "xyes" ]
then
python setup.py upload
fi
git push
git push --tags
+1 -1
View File
@@ -18,7 +18,7 @@ import textwrap
setup(
name = "PyGithub",
version = "1.2",
version = "1.3",
description = "Use the full Github API v3",
author = "Vincent Jacques",
author_email = "vincent@vincent-jacques.net",