Script for non-AppStore version releasing.
The script creates an APFS disk image compressed with LZFSE using diskutil,
then uses Sparkle's generate_appcast tool to sign the update and update the
appcast.
- macOS 26 or later
- The
generate_appcastexecutable from the Sparkle distribution - The EdDSA private key in the login Keychain
When using Swift Package Manager, generate_appcast can be found in the
Sparkle artifact directory under Xcode's Derived Data.
- Copy
generate_appcastfrom the Sparkle distribution to this directory. - Archive CotEditor in Xcode.
- Export a Developer ID-signed Application from the Xcode Organizer.
- Remove previous release files from the
archivedirectory. - Put the app bundle in the CotEditor directory.
- Run
archive.py.
The DMG and appcast.xml are written to archive.
The script stops without creating them if archive contains release files.
© 2017-2026 1024jp.
The source code is distributed under the terms of the Apache License, Version 2.0. See the LICENSE for details.