wire-build.sh: Fix deb file building

This commit is contained in:
mollusk 2017-08-30 08:15:18 -07:00
parent 6796ebe2c1
commit 5877f054e1

View File

@ -89,9 +89,9 @@ build_deb(){
npm install npm install
npm update npm update
npm install grunt npm install grunt
${SUPER_USER_CMD} "grunt ${UPDATE_OPTS}" ${SUPER_USER_CMD} grunt 'clean:linux' 'update-keys' 'release-prod'
${SUPER_USER_CMD} "grunt ${BUILD_OPTS}" ${SUPER_USER_CMD} grunt --arch=${ARCH} --target=${TARGET} 'electronbuilder:linux_other'
${SUPER_USER_CMD} "mv -v ${PACKAGE_DEFAULT_DIR}/*.deb ${BIN_DIR}" ${SUPER_USER_CMD} mv -v ${PACKAGE_DEFAULT_DIR}/*.${TARGET} ${BIN_DIR}
} }
build_rpm(){ build_rpm(){
@ -105,7 +105,7 @@ build_rpm(){
npm install grunt npm install grunt
${SUPER_USER_CMD} grunt 'clean:linux' 'update-keys' 'release-prod' ${SUPER_USER_CMD} grunt 'clean:linux' 'update-keys' 'release-prod'
${SUPER_USER_CMD} grunt --arch=${ARCH} --target=${TARGET} 'electronbuilder:linux_other' ${SUPER_USER_CMD} grunt --arch=${ARCH} --target=${TARGET} 'electronbuilder:linux_other'
${SUPER_USER_CMD} mv -v ${PACKAGE_DEFAULT_DIR}/*.rpm ${BIN_DIR} ${SUPER_USER_CMD} mv -v ${PACKAGE_DEFAULT_DIR}/*.${TARGET} ${BIN_DIR}
} }
git_pull(){ git_pull(){