Skip to content

Commit cb6acf7

Browse files
committed
Add PyPI badge to readme
1 parent 03cf8bc commit cb6acf7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ the same.
66

77
[![Build Status](https://travis-ci.org/plumdog/flask_table.svg?branch=master)](https://travis-ci.org/plumdog/flask_table)
88
[![Coverage Status](https://coveralls.io/repos/plumdog/flask_table/badge.png?branch=master)](https://coveralls.io/r/plumdog/flask_table?branch=master)
9+
[![PyPI version](https://badge.fury.io/py/Flask-Table.svg)](https://badge.fury.io/py/Flask-Table)
910

1011
Quick Start
1112
===========

release.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ function main() {
4141
publish
4242
exit 0;
4343
;;
44+
_generate_readme)
45+
generate_readme
46+
exit 0;
47+
;;
4448
*)
4549
error "Unrecognised argument: $arg. Choose from tag,publish"
4650
;;
@@ -68,7 +72,7 @@ function _trim_from_upto() {
6872
function generate_readme() {
6973
pandoc --from=markdown --to=rst --output=README README.md || error "Unable to convert README.md"
7074
# Remove the Github status links
71-
sed -i '/Build Status.*Coverage Status/,+1d' README
75+
sed -i '/Build Status.*Coverage Status.*PyPI/,+1d' README
7276
# And remove a big chunk of html that gets a bit exploded
7377
_trim_from_upto README "Or as HTML:" "Extra things:"
7478
}

0 commit comments

Comments
 (0)