fix: keep CI packaging local
Pass --publish never to the regular Windows build so electron-builder cannot infer a release upload from the CI environment.
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
"test:backup-api": "npm --prefix services/backup-api test",
|
"test:backup-api": "npm --prefix services/backup-api test",
|
||||||
"verify": "npm run lint && npm test && npm run test:backup-api && npm audit --omit=dev",
|
"verify": "npm run lint && npm test && npm run test:backup-api && npm audit --omit=dev",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"dist": "electron-builder --win",
|
"dist": "electron-builder --publish never --win",
|
||||||
"release:win": "electron-builder --publish never --win nsis portable"
|
"release:win": "electron-builder --publish never --win nsis portable"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ const expectedScripts = {
|
|||||||
'test:backup-api': 'npm --prefix services/backup-api test',
|
'test:backup-api': 'npm --prefix services/backup-api test',
|
||||||
verify: 'npm run lint && npm test && npm run test:backup-api && npm audit --omit=dev',
|
verify: 'npm run lint && npm test && npm run test:backup-api && npm audit --omit=dev',
|
||||||
lint: 'eslint .',
|
lint: 'eslint .',
|
||||||
dist: 'electron-builder --win',
|
dist: 'electron-builder --publish never --win',
|
||||||
'release:win': 'electron-builder --publish never --win nsis portable'
|
'release:win': 'electron-builder --publish never --win nsis portable'
|
||||||
};
|
};
|
||||||
const expectedBuildFiles = [
|
const expectedBuildFiles = [
|
||||||
|
|||||||
Reference in New Issue
Block a user