Skip to content
Gracjan Polak edited this page Jan 22, 2016 · 8 revisions
  1. Select a version of the form XX.YY.

  2. Branch a branch in git

    git fetch haskell
    git checkout -b branch-XX.YY haskell/master
    
  3. Update version in relevant files on the branch:

    • Makefile
    • haskell-mode.el
    • haskell-mode.texi
    • haskell-mode-pkg.el
    git commit -a -m "Update version info XX.YY"
    
  4. Tag the new version (use annotated tag):

    git tag -a vXX.YY -m "Update version info XX.YY"
    
  5. Push to github creating a branch there:

    git push --follow-tags haskell HEAD:branch-XX.YY
    
  6. Should there be needed fixups post-release then do edits on branch, tag new version on branch in the form of vXX.YY.1, vXX.YY.2, etc.

  7. Switch back to master and update version there. Use XX.(XX+1)-git as version string (Emacs recognizes -git as -4, clever).

Melpa-stable will pick up latest tag and create an elisp package out of what it finds in git.

Note: cannot have versions as variable as that will not be picked by Melpa. Sorry.