Moving version to universal VERSION.md, out of command params

This commit is contained in:
James Barnsley
2017-09-20 10:47:20 +12:00
parent 0e4cf48f3f
commit a45b67776f
4 changed files with 5 additions and 8 deletions

1
VERSION.md Executable file
View File

@ -0,0 +1 @@
3.4.4

View File

@ -2,11 +2,7 @@
# process production html
BUILD=$(date +%s)
if [ $# -eq 0 ]; then
VERSION="0.0.0"
else
VERSION=$1
fi
VERSION=$(cat VERSION.md)
echo -e "Building $VERSION ($BUILD)"

View File

@ -12,7 +12,7 @@ from handlers import WebsocketHandler, HttpHandler
from core import IrisCore
logger = logging.getLogger(__name__)
__version__ = "1.1.2"
__version__ = "3.4.4"
##
# Core extension class

View File

@ -1,6 +1,6 @@
{
"name": "mopidy-iris",
"version": "1.1.2",
"version": "3.4.4",
"description": "Mopidy HTTP interface",
"repository": "https://github.com/jaedb/iris",
"author": "James Barnsley <james@barnsley.nz>",
@ -43,6 +43,6 @@
"scripts": {
"dev": "./build.sh && NODE_ENV=development webpack --watch",
"prod": "./build.sh && NODE_ENV=development webpack && NODE_ENV=production webpack",
"release": "NODE_ENV=production webpack && NODE_ENV=development webpack && ./build.sh $1 && python setup.py sdist upload -r pypi"
"release": "./build.sh && NODE_ENV=production webpack && NODE_ENV=development webpack && python setup.py sdist upload -r pypi"
}
}