New release script to avoid submitting unbuilt code

This commit is contained in:
James Barnsley
2017-01-26 18:56:20 +13:00
parent 550dac2c8e
commit 0adfd9cd23
2 changed files with 3 additions and 2 deletions

View File

@ -42,6 +42,7 @@
},
"scripts": {
"dev": "NODE_ENV=development webpack && ./build.sh",
"prod": "NODE_ENV=production webpack && ./build.sh"
"prod": "NODE_ENV=production webpack && ./build.sh",
"release": "NODE_ENV=production webpack && ./build.sh && python setup.py sdist upload -r pypi"
}
}