chore: fix build

This commit is contained in:
Johannes Millan 2020-02-16 00:33:07 +01:00
parent fd05434682
commit efd27e52d0
3 changed files with 7 additions and 3 deletions

View file

@ -1,9 +1,13 @@
#!/usr/bin/env bash
PWD2=$PWD
# read as arg
PUB=$1
cd "$(dirname "$0")"
echo PUB $PUB
docker run $ENVS --rm \
$(env | \
grep -Eo '^[^\s=]*(_TOKEN|_KEY)[^\s=]*' | \
@ -14,4 +18,4 @@ docker run $ENVS --rm \
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
$(docker image build -q .) \
/bin/bash -c "echo '____DOCKER_INNER_START____' && node -v && npm -v && yarn -v && ls -l && yarn --link-duplicates --pure-lockfile && yarn run dist:linuxAndWin -p ${PUB} && ls -l ./dist"
/bin/bash -c "echo '____DOCKER_INNER_START____' && echo $PUB && node -v && npm -v && yarn -v && ls -l && yarn --link-duplicates --pure-lockfile && yarn run dist:linuxAndWin -p ${PUB} && ls -l ./dist"