-
Notifications
You must be signed in to change notification settings - Fork 344
Release procedure
Gracjan Polak edited this page Jan 22, 2016
·
8 revisions
-
Select a version of the form
XX.YY
. -
Branch a branch in git
git fetch haskell git checkout -b branch-XX.YY haskell/master
-
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"
-
Tag the new version (use annotated tag):
git tag -a vXX.YY -m "Update version info XX.YY"
-
Push to github creating a branch there:
git push --follow-tags haskell HEAD:branch-XX.YY
-
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. -
Switch back to
master
and update version there. UseXX.(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.