diff --git a/package.json b/package.json index 79c7ee68..79894ff2 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,9 @@ "dist:win:ci": "npm run build && npm run pack:win:ci", "publish:lin": "npm run build && npm run clean:dist && electron-builder --linux --x64 -p always", "publish:mac": "npm run build && npm run clean:dist && electron-builder --mac -p always", - "publish:win": "npm run build && npm run clean:dist && electron-builder --win --x64 --ia32 -p always -c.win.certificateSubjectName=\"8bit Solutions LLC\"" + "publish:mac:mas": "dist:mac:mas && gulp pkgMas && npm run upload:mas", + "publish:win": "npm run build && npm run clean:dist && electron-builder --win --x64 --ia32 -p always -c.win.certificateSubjectName=\"8bit Solutions LLC\"", + "upload:mas": "xcrun altool --upload-app --type osx --file \"./dist/mas/Bitwarden-mas-signed.pkg\" --username $APPLE_ID_USERNAME --password $APPLE_ID_PASSWORD" }, "build": { "appId": "com.bitwarden.desktop",