Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8d01909
Bump version to 2.22.0-beta2
mokagio May 31, 2024
5fd0209
Require `@electron/notarize` instead of old `electron-notarize`
mokagio May 31, 2024
f476598
npm install with --legacy-peer-deps, notarize even when not on a tag
mokagio May 31, 2024
5435937
try also adding buffer module
codebykat May 31, 2024
977685a
Bump version to 2.22.0-beta3
mokagio May 31, 2024
f4f96b1
Move from CircleCI to Buildkite (includes various beta bumps) (#3204)
mokagio Jun 19, 2024
f5ff6a1
Prioritize `config-local` and update dependencies (#3223)
codebykat Jun 24, 2024
0995039
Bump version to 2.22.0-beta8
mokagio Jun 24, 2024
b791d63
Bump version to 2.22.0 stable
mokagio Jul 3, 2024
cf502a8
Bump version to v2.22.1-beta1
mokagio Jul 16, 2024
02efedb
Fix: Webpack fallback release config (#3232)
codebykat Jul 17, 2024
f8c76d5
Bump version to 2.22.1 stable
mokagio Jul 18, 2024
168a632
Bump version to 2.22.2-beta.1
mokagio Jul 19, 2024
717fd7c
Make `electron-builder` generate updates for beta and alpha, too
mokagio Jul 19, 2024
987d565
Temporary switch to latest+beta channel for updates
mokagio Jul 19, 2024
f8f95df
Remove `"dmg"` arg from `make` cmd so we can generate ZIP, too
mokagio Jul 19, 2024
300d7b6
Move `generateUpdatesFilesForAllChannels` to `electron-builder.json`
mokagio Jul 19, 2024
3255475
Add `mergeASARs = false` to the mac configuration
mokagio Jul 19, 2024
8993cb5
Upload `zip` artifacts in macOS builds
mokagio Jul 19, 2024
df20f1e
Bump version to 2.22.2-beta.2
mokagio Jul 19, 2024
98dfd5c
Update Windows configuration to remove AppX ambiguity (#3239)
mokagio Aug 8, 2024
2cc7f24
Revert back to using only latest channel for updates
mokagio Aug 16, 2024
38ab5a9
Remove `gconf2` dependency (#3244)
mokagio Aug 15, 2024
7261aa1
Bump version to 2.22.2-beta.3
mokagio Aug 16, 2024
aed31e0
Merge remote-tracking branch 'origin/trunk' into merge/release/2.22.2…
mokagio Aug 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .buildkite/commands/package_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ If (Test-Path $certPath) {
[System.Environment]::SetEnvironmentVariable('CSC_LINK', $certPath, [System.EnvironmentVariableTarget]::Machine)
Write-Host "Environment variable CSC_LINK set to $certPath"
} else {
Write-Host "[!] certificate.pfx file does not exist."
Write-Host "[!] Certificate file does not exist at given path $certPath."
Exit 1
}

Expand All @@ -38,8 +38,8 @@ Import-PfxCertificate -FilePath $certPath -CertStoreLocation Cert:\LocalMachine\
Write-Host "--- :windows: Installing make"
choco install make

Write-Host "--- :npm: Installing dependencies"
npm ci --legacy-peer-deps
bash ".\.buildkite\commands\install_node_dependencies.sh"
If ($LastExitCode -ne 0) { Exit $LastExitCode }

Write-Host "--- :lock_with_ink_pen: Decrypting secrets"
make decrypt_conf
Expand Down
1 change: 1 addition & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ steps:
artifact_paths:
- release/*.dmg
- release/*.dmg.blockmap
- release/*.zip*
- release/latest*.yml

- label: Package on Windows
Expand Down
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,18 +141,18 @@ package: build-if-changed

.PHONY: package-win32
package-win32:
@echo Packaging .exe...
@echo "Packaging exe..."
@npx electron-builder --win -p $(PUBLISH)
ifeq ($(IS_WINDOWS),true)
@echo Packaging .appx as well...
# Note: the configuration required to generate a code signed exe via the `nsis` target will conflict with the `appx` configuration.
# In practice, "certificateSubjectName": "Automattic, Inc." is required to sign the exe, but if that setting is present and so are the `appx` settings, there will be a failure.
# Hence the need for a separate configuration here.
# See also in https://github.com/electron-userland/electron-builder/issues/6698
@echo "Packaging appx — with dedicated configuration to work around code signing conflicts..."
@npx electron-builder --win -p $(PUBLISH) --config=./electron-builder-appx.json
else
@echo Skipping packaging .appx because we are not running on a Windows machine.
endif

.PHONY: package-osx
package-osx: build-if-changed
@npx electron-builder --mac "dmg" -p $(PUBLISH)
@npx electron-builder --mac -p $(PUBLISH)

.PHONY: package-linux
package-linux: build-if-changed
Expand Down
8 changes: 3 additions & 5 deletions electron-builder-appx.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"productName": "Simplenote",
"appId": "com.automattic.simplenote",
"directories": {
"output": "release",
"buildResources": "resources"
"output": "./release",
"buildResources": "./resources"
},
"files": ["desktop", "dist", "shared"],
"win": {
Expand All @@ -29,7 +29,5 @@
"name": "simplenote",
"schemes": ["simplenote"]
}
],
"afterSign": "./after_sign_hook.js",
"afterAllArtifactBuild": "./after_sign_hook.js"
]
}
12 changes: 3 additions & 9 deletions electron-builder.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"productName": "Simplenote",
"appId": "com.automattic.simplenote",
"generateUpdatesFilesForAllChannels": true,
"directories": {
"output": "./release",
"buildResources": "./resources"
Expand All @@ -22,7 +23,8 @@
"target": "zip",
"arch": ["universal"]
}
]
],
"mergeASARs": false
},
"dmg": {
"title": "Simplenote Installer",
Expand Down Expand Up @@ -52,17 +54,9 @@
{
"target": "nsis",
"arch": ["ia32", "x64"]
},
{
"target": "appx",
"arch": ["ia32", "x64"]
}
]
},
"appx": {
"backgroundColor": "transparent",
"showNameOnTiles": true
},
"nsis": {
"artifactName": "Simplenote-win-${version}-${arch}.${ext}",
"deleteAppDataOnUninstall": true,
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"email": "[email protected]"
},
"productName": "Simplenote",
"version": "2.22.1",
"version": "2.22.2-beta.3",
"main": "desktop/index.js",
"license": "GPL-2.0",
"homepage": "https://simplenote.com",
Expand Down