mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 11:51:10 +00:00
Publish version 1.3
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user