From cfe9f57572106556085ddbe0c41c0c53faef5582 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 27 Sep 2019 23:25:41 -0400 Subject: [PATCH] publish:mac:mas task --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 79c7ee68a8..79894ff2e1 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",