Skip to content

Commit

Permalink
mkdocs-unidata release 1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mjames-upc committed Apr 14, 2017
1 parent bfbdfba commit fa082c8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ pip show mkdocs-unidata | grep -E ^Version

## Changelog

### 1.5.6 <small> _ April 14, 2017</small>

* Always base_url over config.site_url.
* Corner img base_url link.

### 1.5.5 <small> _ April 13, 2017</small>

* Updates for pypi release conflict with mkdocs-material.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mkdocs-unidata",
"version": "1.5.5",
"version": "1.5.6",
"description": "Custom Material Design theme for MkDocs",
"keywords": [
"mkdocs",
Expand Down
12 changes: 12 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }'| sed 's/[",]//g' | tr -d '[[:space:]]')

echo "rm -rf dist/mkdocs*unidata-$PACKAGE_VERSION.*"
python setup.py sdist bdist_wheel

for file in `ls dist |grep $PACKAGE_VERSION`
do
twine register dist/$file
twine upload dist/$file
done

0 comments on commit fa082c8

Please sign in to comment.