Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 3.19 KB

HOW_TO_RELEASE.md

File metadata and controls

74 lines (47 loc) · 3.19 KB

How to release

This is a little guide how to perform a new Interval Music Compositor release.

Source preparations

First, prepare the source code for the upcoming release.

  • Check that all changes have been written to the change log file in intervalmusiccompositor.app/src/main/resources/CHANGELOG.txt

  • Decide about the new version according to the semantic versioning scheme (http://semver.org/), e.g. 1.2.3.

  • Upgrade the version by changing it in the following files:

    • For the build: intervalmusiccompositor.app/gradle.properties
    • For inside the application: intervalmusiccompositor.app/src/main/resources/imc.properties
    • For the documentation: intervalmusiccompositor.app/src/main/resources/CHANGELOG.txt
  • Commit the change to the main branch and tag the version with v prefix:

    $ git add .
    $ git commit -m 'Upgrades to version 1.2.3.'
    $ git tag v1.2.3
    $ git push 
    $ git push --tags
    

Release distribution

Second, build the actual release distribution and release it on github.

Download pages update

Then, update references pointing to the download.

Github project page

  • Check out the project website (http://nwaldispuehl.github.io/interval-music-compositor/en/) which is stored in the same project in the gh-pages branch:

    $ git checkout gh-pages
    
  • Edit the top part on the download pages download.markdown (german), and en/download.markdown (english) to match the current release:

The current version 1.2.3 was issued on 1st January 1970.

  • Commit and push the changes to the origin again:

    $ git add .
    $ git commit -m 'Upgraded version on download page.'
    $ git push
    

Heise downloads

We have a product entry in the download page of the german it and software website heise online (https://www.heise.de/): https://www.heise.de/download/product/interval-music-compositor-78824

It just links the github pages download page, but the version (and occasionally the screenshot) has to be updated.

Update mechanism update

Finally update the version in the resource consulted by the program when checking for new versions. It is located at:

https://interval-music-compositor.retorte.ch/current_version.txt

The legacy version is located at:

http://interval_music_compositor.retorte.ch/current_version.txt