Instructions for publishing an update unclear.

Asked by George Nachman

The instructions here:
http://wiki.github.com/andymatuschak/Sparkle/publishing-an-update

are vague. They say:

1) Put a copy of your .app (with the same name as the version it’s replacing) in a .zip, .dmg, .tar.gz, or .tar.bz2.
2) Create an Installer .pkg with the same name as your app and put that .pkg in one of the archive formats above.

Following this, I have:
foo.app
foo.zip <- result of step 1
foo.pkg <- installs foo.app. or should it do something with foo.zip?
foo.pkg.zip <- result of step 2, putting the .pkg in a zip file. foo.zip not in here, because it's not referenced.

A few steps later I am supposed to sign my update. I guess I'm signing foo.pkg.zip? But then why did I create foo.zip? And my foo.pkg came out to be one fourth the size of foo.zip, so there's no way it contains foo.app.

I'm obviously not understanding something. Can you help clarify this for me?

Thanks,
George

Question information

Language:
English Edit question
Status:
Answered
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

Sorry for the confusion. There's an "either" there. If you need to distribute via a pkg (which is not preferred), use the second bullet, put the zipped .pkg in your appcast, and sign the .zip.

Revision history for this message
Andy Matuschak (andymatuschak) said :
#2

(meaning, sign the .pkg.zip, to be clear)

Can you help with this problem?

Provide an answer of your own, or ask George Nachman for more information if necessary.

To post a message you must log in.