go back to using my publish script
This commit is contained in:
parent
07221b4811
commit
a8e3313b05
1 changed files with 7 additions and 2 deletions
7
build.sh
7
build.sh
|
@ -67,7 +67,7 @@ if [ -n "${TEAMCITY_VERSION:-}" ]; then
|
||||||
export CI_BUILD_TAG=$(git describe --exact-match)
|
export CI_BUILD_TAG=$(git describe --exact-match)
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
node_modules/.bin/build -p always
|
node_modules/.bin/build
|
||||||
|
|
||||||
echo 'Build and packaging complete.'
|
echo 'Build and packaging complete.'
|
||||||
else
|
else
|
||||||
|
@ -75,5 +75,10 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${TEAMCITY_VERSION:-}" ]; then
|
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
|
deactivate
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue