From a8e3313b051e0c69371a9fb176d640fae80a0f50 Mon Sep 17 00:00:00 2001 From: jobevers Date: Thu, 9 Feb 2017 18:53:07 -0600 Subject: [PATCH] go back to using my publish script --- build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index f1285aaa4..8b5cda63a 100755 --- a/build.sh +++ b/build.sh @@ -67,13 +67,18 @@ if [ -n "${TEAMCITY_VERSION:-}" ]; then export CI_BUILD_TAG=$(git describe --exact-match) set -e - node_modules/.bin/build -p always - + node_modules/.bin/build + echo 'Build and packaging complete.' else echo 'Build complete. Run `./node_modules/.bin/electron app` to launch the app' fi if [ -n "${TEAMCITY_VERSION:-}" ]; then + # electron-build has a publish feature, but I had a hard time getting + # it to reliably work and it also seemed difficult to configure. Not proud of + # this, but it seemed better to write my own. + pip install PyGithub uritemplate + python release-on-tag.py --force deactivate fi