Releasing 3.4.5 ()

This commit is contained in:
James Barnsley
2017-09-21 09:23:07 +12:00
parent facaa6cc58
commit f74523f73a
6 changed files with 26 additions and 26 deletions

View File

@ -1 +1 @@
3.4.4
3.4.5

View File

@ -19,7 +19,7 @@ sed -i 's/VERSION_HERE/'$VERSION'/g' mopidy_iris/static/index.html
sed -i 's/BUILD_HERE/'$BUILD'/g' mopidy_iris/static/index.html
echo -e "Setting version in Python"
sed -i '/__version__ = "/c\__version__ = "'$VERSION'"' mopidy_iris/__init__.py
sed -i "/__version__ = '/c\__version__ = '"$VERSION"'" mopidy_iris/__init__.py
echo -e "Setting version in NPM"
sed -i '/ "version": "/c\ "version": "'$VERSION'",' package.json

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "mopidy-iris",
"version": "3.4.4",
"version": "3.4.5",
"description": "Mopidy HTTP interface",
"repository": "https://github.com/jaedb/iris",
"author": "James Barnsley <james@barnsley.nz>",
@ -41,8 +41,10 @@
"react-lazyload": "2.2.7"
},
"scripts": {
"build": "./build.sh",
"test": "./build.sh && ./release.sh",
"dev": "./build.sh && NODE_ENV=development webpack --watch",
"prod": "./build.sh && NODE_ENV=development webpack && NODE_ENV=production webpack",
"release": "./build.sh && NODE_ENV=production webpack && NODE_ENV=development webpack && 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 && ./release.sh"
}
}

View File

@ -17,7 +17,7 @@ TAG=$(git tag -a "$VERSION" -m "Releasing $VERSION ($BUILD)")
echo -e $TAG
echo -e "git push"
PUSH=$(git push)
echo -e $PUSH
#PUSH=$(git push)
#echo -e $PUSH
echo -e "\x1b[32;01m"Done!"\x1b[39;49;00m"

View File

@ -53,29 +53,27 @@
// Check for test mode. This is toggled under Settings > Debug > Test mode
var ui = JSON.parse( localStorage.getItem('ui') );
var test_mode = (typeof(ui) !== 'undefined' && ui && typeof(ui.test_mode) !== 'undefined' && ui.test_mode);
// Test mode either not enabled, or not configured
if (typeof(ui) === 'undefined' || !ui || typeof(ui.test_mode) === 'undefined' || !ui.test_mode){
// Production-grade, minified app
js.src = '/iris/app.min.js?v='+build;
css.href = '/iris/app.min.css?v='+build;
// Initiate error tracking. This helps catch errors early so
// patches can accurately and quickly fix issues.
Raven.config(
'https://023e3bf7721b48f29948545fc36a4621@sentry.io/219026',
{
release: version+"_"+build
}
).install();
// We're in test mode, so use built (but not minified) code
} else {
// Test mode, use built (but not minified) code
if (test_mode){
js.src = '/iris/app.js?v='+build;
css.href = '/iris/app.css?v='+build;
// Production-grade, minified app
} else {
js.src = '/iris/app.min.js?v='+build;
css.href = '/iris/app.min.css?v='+build;
}
// Initiate error tracking. This helps catch errors early so
// patches can accurately and quickly fix issues.
Raven.config(
'https://023e3bf7721b48f29948545fc36a4621@sentry.io/219026',
{
release: version+(test_mode ? "_testmode" : "")
}
).install();
// And finally inject our CSS/JS tags
document.body.appendChild(js);