build: setup tooling for publish to gcs
This commit is contained in:
+20
-2
@@ -21,10 +21,28 @@ const config: ForgeConfig = {
|
||||
keychainProfile: 'default',
|
||||
}
|
||||
},
|
||||
publishers: [
|
||||
{
|
||||
name: '@electron-forge/publisher-gcs',
|
||||
config: {
|
||||
storageOptions: {
|
||||
projectId: 'flowy-prod-440017'
|
||||
},
|
||||
bucket: 'flowy-releases',
|
||||
folder: 'llink',
|
||||
// NOTE: commented out because we do not want to apply per object ACL which conflicts with uniform bucket-level access that's already public
|
||||
// public: true
|
||||
}
|
||||
}
|
||||
],
|
||||
rebuildConfig: {},
|
||||
makers: [
|
||||
new MakerSquirrel({}),
|
||||
new MakerZIP({}, ['darwin']),
|
||||
new MakerSquirrel((arch) => ({
|
||||
remoteReleases: `https://storage.googleapis.com/flowy-releases/llink/win32/${arch}`
|
||||
})),
|
||||
new MakerZIP((arch) => ({
|
||||
macUpdateManifestBaseUrl: `https://storage.googleapis.com/flowy-releases/llink/darwin/${arch}`
|
||||
}), ['darwin']),
|
||||
new MakerRpm({}),
|
||||
new MakerDeb({}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user