Skip to content

Devs: Create a new release

Kaspar Schmid edited this page Jun 10, 2016 · 2 revisions

These are the steps currently required to publish a new binary release of ImagePlay for Windows and OS X.

Changelog

Make sure changelog.md is up to date. It will be shown on github as well as in the fervor update dialog.

Create binary

Windows

Compile the project in x64 release mode. Check if _bin/Release/x64/ImagePlay.exe runs without issues especially missing DLL. Our goal is to deliver a single ZIP file which can be extracted and used as is. We include the needed DLLs for Qt, opencv, VC++ runtime, IPL, FreeImage. Also, make sure that you remove any remains of your tests such as logs or plugin_development files.

Zip folder as ImagePlay-{VERSION}.zip

Mac

Run

qmake-recursive
make

Check if _bin/Release/x64/ImagePlay.app runs without issues especially missing .dylib files. Errors might need to be adressed using install_name_tool.

DMG

Create a DMG file which contains ImagePlay.app and a link to /Applications. We use dmgCreator for this task.

Filename: ImagePlay-{VERSION}.dmg

Note that Qt's DMG creation tool produces unusable DMG.

Github

Merge

Merge develop branch to master branch.

Create release

Use github to create a new release. https://github.com/cpvrlab/ImagePlay/releases

Create a new tag for the new version such as 6.1.0

Upload

Upload ImagePlay-{VERSION}.zip and ImagePlay-{VERSION}.dmg

Website (imageplay.io)

Update index.html to reflect all changes and links to the previously uploaded github releases.

Direct download links are:

https://github.com/cpvrlab/ImagePlay/releases/download/{VERSION}/ImagePlay-{VERSION}.zip
https://github.com/cpvrlab/ImagePlay/releases/download/{VERSION}/ImagePlay-{VERSION}.dmg

Push to users

Test if all links are working correctly. The final step is to update Appcast.xml which will then be used to notify existing users to download the new version.