minor
This commit is contained in:
parent
10cb7d6353
commit
61ac98fb25
|
@ -9,8 +9,7 @@ RELEASE_VERSION="${1}"
|
||||||
RELEASE_PATH="${HOME}/fchat-rising-dist/${RELEASE_VERSION}"
|
RELEASE_PATH="${HOME}/fchat-rising-dist/${RELEASE_VERSION}"
|
||||||
DIST_PATH="${HOME}/fchat-rising/electron/dist"
|
DIST_PATH="${HOME}/fchat-rising/electron/dist"
|
||||||
|
|
||||||
|
cd "${HOME}/fchat-rising"
|
||||||
cd "/${HOME}/fchat-rising"
|
|
||||||
git checkout master
|
git checkout master
|
||||||
git pull
|
git pull
|
||||||
yarn
|
yarn
|
||||||
|
@ -22,8 +21,6 @@ cd electron
|
||||||
yarn build:dist
|
yarn build:dist
|
||||||
node pack.js
|
node pack.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cp "${DIST_PATH}/F-Chat Rising Intel.dmg" "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-macos-intel.dmg"
|
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"
|
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"
|
zip --junk-paths "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-macos-intel.zip" "${DIST_PATH}/F-Chat Rising Intel.dmg"
|
||||||
|
|
Loading…
Reference in New Issue