From the top of the git-cola repository a release can then be created by running:
Meta/release --all
This branch is intended to be checked out in a seperate repository within a git-cola repository, e.g. at git-cola/Meta (and is the reason that git-cola's .gitignore mentions "Meta". The release script assumes that you have a clone of git-cola.github.com sibling to the git-cola repository. Your directory structure should look roughly like this:
$HOME/src/git-cola
$HOME/src/git-cola.github.com
"$HOME/src" can be any arbitrary directory.
The following steps should be taken when creating a new release.
-
Run
./Meta/set-version vX.Y.Z, or perform the following three steps manually by editing the corresponding file:-
Update
cola/_version.pywith the new version number -
Update
pynsist.cfgwith the new version number -
Update
doc/relnotes/unreleased.rstto point to the new stable version.
-
-
Create
doc/relnotes/$VERSION.rstfrom the pre-release notes indoc/relnotes/unreleased.rst. -
Commit the above changes as
git commit -sm'git-cola vX.Y' -
Tag the repo,
git tag -sm'git-cola X.Y' -
Push the changes to make them available to github for the release.
git push git-cola master && git push --tags git-cola && git push origin master && git push --tags origin
-
Start a Windows VM session
-
Run
Meta/release --allto build the installers and update the siblinggit-cola.github.comrepository. -
Commit
git-cola.github.comchanges,git commit -sm'git-cola vX.Y'and push them to github.