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:
parent
5848657d7a
commit
f53f76e220
1
.gitignore
vendored
1
.gitignore
vendored
@ -25,5 +25,4 @@ yarn-error.log*
|
||||
|
||||
#Electron-builder output
|
||||
/dist_electron
|
||||
/build_publish
|
||||
log_creds.txt
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user