mirror of
https://github.com/frappe/books.git
synced 2024-11-08 14:50:56 +00:00
chore: fix env var detection when running build
This commit is contained in:
parent
4d8f17c3bb
commit
ee29f8d564
@ -31,12 +31,16 @@ echo $ERR_LOG_SECRET >> log_creds.txt
|
|||||||
echo $ERR_LOG_URL >> log_creds.txt
|
echo $ERR_LOG_URL >> log_creds.txt
|
||||||
echo $TELEMETRY_URL >> log_creds.txt
|
echo $TELEMETRY_URL >> log_creds.txt
|
||||||
|
|
||||||
# Enable Code Signing
|
|
||||||
CSC_IDENTITY_AUTO_DISCOVERY=true
|
|
||||||
|
|
||||||
# Build
|
# Install Dependencies
|
||||||
yarn install
|
yarn install
|
||||||
|
|
||||||
|
# Set .env and build
|
||||||
export GH_TOKEN=$GH_PUBLISH_TOKEN &&
|
export GH_TOKEN=$GH_PUBLISH_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
|
yarn electron:build --mac --publish=always
|
||||||
|
|
||||||
cd ../../
|
cd ../../
|
||||||
|
Loading…
Reference in New Issue
Block a user