diff --git a/ReadMe.rst b/ReadMe.rst index 65bc2ea9..4a1c8c10 100644 --- a/ReadMe.rst +++ b/ReadMe.rst @@ -10,7 +10,7 @@ PyGithub is stable. I will maintain it up to date with the API, and fix bugs if What's new? =========== -`Version 1.12.0 `_ (February 17th, 2013) +`Version 1.12.0 `_ (February 20th, 2013) --------------------------------------------------------------------------------------------------------------- * Much better documentation: http://jacquev6.github.com/PyGithub diff --git a/doc/changes.rst b/doc/changes.rst index 9b87d912..f4f352ce 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -4,6 +4,12 @@ Change log Stable versions ~~~~~~~~~~~~~~~ +`Version 1.12.0 `_ (February 20th, 2013) +--------------------------------------------------------------------------------------------------------------- + +* Much better documentation: http://jacquev6.github.com/PyGithub +* `Implement `_ :meth:`github.Repository.Repository.get_gir_contents`. Thank you `ksookocheff-va `_ for asking + `Version 1.11.1 `_ (February 9th, 2013) (London edition) ------------------------------------------------------------------------------------------------------------------------------- diff --git a/publish.sh b/publish.sh index 243de1c8..fc848c3e 100755 --- a/publish.sh +++ b/publish.sh @@ -3,7 +3,7 @@ python setup.py publish || exit -previousVersion=$( grep 'version =' setup.py | sed 's/.*version =\"\(.*\)\".*/\1/' ) +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 @@ -11,19 +11,20 @@ git add setup.py git log v$previousVersion.. --oneline -echo "Edit ReadMe.md and doc/ChangeLog.md now, then press enter" +echo "Edit ReadMe.rst and doc/changes.rst now, then press enter" read foobar -git add ReadMe.md doc/ChangeLog.md +git add ReadMe.rst doc/changes.rst + +git commit -m "Publish version $version" + +cp -r doc COPYING* github +python setup.py sdist upload +rm -rf github/*.md github/doc github/COPYING* echo "Break (Ctrl+c) here if something is wrong. Else, press enter" read foobar -git commit -m "Publish version $version" git tag -m "Version $version" v$version -cp -r *.md doc COPYING* github -python setup.py sdist upload -rm -rf github/*.md github/doc github/COPYING* - -git push github master master:develop +git push github master master:develop gh-pages git push --tags diff --git a/setup.py b/setup.py index 1fefc45e..c6778041 100755 --- a/setup.py +++ b/setup.py @@ -119,7 +119,7 @@ if __name__ == "__main__": "github.tests", ], package_data={ - "github": ["ReadMe.md", "COPYING*", "doc/*.md", "tests/ReplayData/*.txt"] + "github": ["ReadMe.rst", "COPYING*", "tests/ReplayData/*.txt"] }, classifiers=[ "Development Status :: 5 - Production/Stable",