Skip to content

Commit

Permalink
chore: update pub script build outside root
Browse files Browse the repository at this point in the history
  • Loading branch information
18alantom committed May 11, 2023
1 parent 5848657 commit f53f76e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ yarn-error.log*

#Electron-builder output
/dist_electron
/build_publish
log_creds.txt
5 changes: 3 additions & 2 deletions scripts/publish-mac-arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit f53f76e

Please sign in to comment.