Yannick Weiss

Update Mechanism with GitHub

GitHub provides a nice UI to publish a new release and the matching API to get the latest release.

With this you can implement your own update mechanism that grabs the newest version from GitHub. Don’t forget security. Use HTTPS, sign the binary and verify both during runtime.

Sparkle for GitHub

I implemented such update mechanism for OS X apps, Sparkle-for-Github.


My Workflow

  1. Increase Version from 1.0 to 1.1 (Semantic Versioning)
  2. Build new binary, sign it and zip it
  3. Commit all changes to master
  4. Push master to GitHub
  5. Create new Release on GitHub with the version v1.1
  6. Attach the binary and publish release