Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.66 KB

RELEASE.md

File metadata and controls

42 lines (31 loc) · 1.66 KB

How to release the plugin for public consumption

  1. Edit the following lines in CMakeLists.txt to reflect the new status:
    #SET(CMAKE_BUILD_TYPE Debug)
    SET(VERSION_MAJOR "5")
    SET(VERSION_MINOR "0")
    SET(VERSION_PATCH "4-beta1")
    SET(VERSION_DATE "2019-09-08")
  1. Add the file to the git staging area, commit this then tag the commit with the same version number:
    git add CMakeLists.txt
    git commit -m"v5.0.4-beta1"
    git tag "v5.0.4-beta1"
  1. Push the version, including tags, to github.
    git push --tags

That's it! The process of adding the tag will make Appveyor and Travis build a release version and create a release in Github for the project automatically. Wait for the first artifact (usually Windows from Appveyor) to turn up as a release, then modify the full description of the release to include the release notes / bugs solved etc.

Wrong commit tagged?

As long as you haven't done git push --tags yet you can move the tag to the correct commit by using git tag -f <tagname> <commitid> or if the desired commit is the new HEAD (last commit) then git tag -f <tagname>.

Checking if the code builds on macOS + Linux + Windows

Just push a version, just don't tag it -- Appveyor and Travis will still build it, but you need to go to their website to find the result.

Travis release build fails on Linux

This is a known issue at this time, the travis code for pushing the artifacts uses an obsolete function that doesn't work. Normal (builds without tags) work OK.