mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 00:04:25 +00:00
77 lines
1.8 KiB
Markdown
77 lines
1.8 KiB
Markdown
# How To Do Mac Sparkle Release
|
||
|
||
NetNewsWire_mac_target_common.xcconfig
|
||
update MARKETING_VERSION
|
||
NetNewsWire_version.xcconfig
|
||
update CURRENT_PROJECT_VERSION if needed (might have just been done for iOS)
|
||
|
||
Run buildscripts/quiet_build_and_test.sh
|
||
|
||
Run app
|
||
|
||
ReleaseNotes-Mac.markdown
|
||
main branch
|
||
Write change notes in notes
|
||
Include branch and tag
|
||
|
||
Make sure there are no outstanding changes
|
||
|
||
Archive build
|
||
Developer ID distribution - notarize
|
||
Click Distribute App button
|
||
Wait while processing
|
||
|
||
Export
|
||
Smoke test
|
||
|
||
On main: update Technotes/Status.md
|
||
commit
|
||
|
||
git push
|
||
|
||
Tag the app:
|
||
git tag mac-6.1.5b4
|
||
|
||
Push:
|
||
git push origin mac-6.1.5b4
|
||
|
||
Find tag in GitHub - https://github.com/Ranchero-Software/NetNewsWire/tags
|
||
Turn into release — NetNewsWire 6.1.5b4 for Mac
|
||
Add change notes
|
||
Zip app - NetNewsWire6.1.5b4.zip
|
||
|
||
## Start with 7.2 beta
|
||
Sign the zip with the EdDSA key (key is in the login Keychain):
|
||
sign_update NetNewsWire6.1.5b4.zip
|
||
(sign_update is in Sparkle’s bin folder — in the release distribution download, or in DerivedData under SourcePackages/artifacts/sparkle/Sparkle/bin)
|
||
Copy the output — it has both sparkle:edSignature and length for the appcast enclosure
|
||
|
||
Upload binary to release
|
||
Publish release
|
||
Copy file to releases archive — /Volumes/KD/Archive/Releases/
|
||
|
||
Update Appcast on main branch
|
||
Add changes
|
||
Update title
|
||
Update pubDate
|
||
Update enclosure URL
|
||
Update version
|
||
Update sparkle:edSignature and length — from the sign_update output
|
||
|
||
Run xmllint on appcast
|
||
xmllint --noout ~/Projects/nnw/main/Appcasts/netnewswire-beta.xml
|
||
|
||
Upload appcast
|
||
Commit and push git change
|
||
|
||
Test updating via appcast
|
||
|
||
Optionally:
|
||
Announce on Discourse
|
||
Announce on blog
|
||
|
||
If release build:
|
||
Update netnewswire-release.xml
|
||
Update download on netnewswire.com — via .htaccess redirect
|
||
|