This commit is contained in:
Mr. Stallion 2023-09-03 14:10:34 -07:00
parent 10cb7d6353
commit 61ac98fb25
1 changed files with 1 additions and 4 deletions

View File

@ -9,8 +9,7 @@ RELEASE_VERSION="${1}"
RELEASE_PATH="${HOME}/fchat-rising-dist/${RELEASE_VERSION}"
DIST_PATH="${HOME}/fchat-rising/electron/dist"
cd "/${HOME}/fchat-rising"
cd "${HOME}/fchat-rising"
git checkout master
git pull
yarn
@ -22,8 +21,6 @@ cd electron
yarn build:dist
node pack.js
cp "${DIST_PATH}/F-Chat Rising Intel.dmg" "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-macos-intel.dmg"
rm -f "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-macos-intel.zip"
zip --junk-paths "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-macos-intel.zip" "${DIST_PATH}/F-Chat Rising Intel.dmg"