2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 23:30:56 +00:00

chore: update pub script build outside root

This commit is contained in:
18alantom 2023-05-11 12:43:28 +05:30
parent 5848657d7a
commit f53f76e220
2 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View File

@ -25,5 +25,4 @@ yarn-error.log*
#Electron-builder output
/dist_electron
/build_publish
log_creds.txt

View File

@ -17,6 +17,7 @@ fi
source .env.publish
# Create folder for the publish build
cd ../
rm -rf build_publish
mkdir build_publish
cd build_publish
@ -36,11 +37,11 @@ echo $TELEMETRY_URL >> log_creds.txt
yarn install
# Set .env and build
export GH_TOKEN=$GH_PUBLISH_TOKEN &&
export GH_TOKEN=$GH_TOKEN &&
export CSC_IDENTITY_AUTO_DISCOVERY=true &&
export APPLE_ID=$APPLE_ID &&
export APPLE_TEAM_ID=$APPLE_TEAM_ID &&
export APPLE_APP_SPECIFIC_PASSWORD=$APPLE_APP_SPECIFIC_PASSWORD &&
yarn electron:build --mac --publish=always
cd ../../
cd ../books