Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Barnaby Gray
committed
Nov 23, 2013
1 parent
9a23705
commit af2c029
Showing
3 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash -e | ||
|
||
sublime -w setup.py:4 | ||
VERSION=$(python setup.py --version) | ||
|
||
# make changelog | ||
echo -e "$VERSION\n" > /tmp/changelog | ||
git log --format='- %s%n' $(git describe --abbrev=0).. >> /tmp/changelog | ||
sublime -w README.markdown:166 /tmp/changelog | ||
rm /tmp/changelog | ||
|
||
git add README.markdown setup.py | ||
git commit -m $VERSION | ||
git push | ||
python setup.py release | ||
|
||
echo "$VERSION released" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[aliases] | ||
release = tag sdist upload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters