chore: remove publishing from build.sh script
This commit is contained in:
parent
906eb852fa
commit
1fa8d4bcf7
|
@ -53,23 +53,6 @@ if [ "$FULL_BUILD" == "true" ]; then
|
||||||
|
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
# Workaround: TeamCity expects the dmg to be in dist/mac, but in the new electron-builder
|
|
||||||
# it's put directly in dist/ (the right way to solve this is to update the TeamCity config)
|
|
||||||
if $OSX; then
|
|
||||||
cp dist/*.dmg dist/mac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 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.
|
|
||||||
VENV="$BUILD_DIR/venv"
|
|
||||||
if [ -d "$VENV" ]; then
|
|
||||||
rm -rf "$VENV"
|
|
||||||
fi
|
|
||||||
virtualenv "$VENV"
|
|
||||||
"$VENV/bin/pip" install -r "$BUILD_DIR/requirements.txt"
|
|
||||||
"$VENV/bin/python" "$BUILD_DIR/upload_assets.py"
|
|
||||||
|
|
||||||
echo -e '\033[0;32mBuild and packaging complete.\x1b[m'
|
echo -e '\033[0;32mBuild and packaging complete.\x1b[m'
|
||||||
else
|
else
|
||||||
echo -e 'Build complete. Run \033[1;31myarn dev\x1b[m to launch the app'
|
echo -e 'Build complete. Run \033[1;31myarn dev\x1b[m to launch the app'
|
||||||
|
|
Loading…
Reference in a new issue