Entries for archive: 2010-01

Found 2 entries.

Hints and Tips

This page collects some useful hints and tips.

Make tarballs from all tags

PROJECT=cil
git tag -l | cut -c2- | while read TAG; do
    echo "Doing $TAG for $PROJECT"
    git archive --format=tar --prefix=$PROJECT-$TAG/ v$TAG | gzip > $PROJECT-$TAG.tar.gz;
done

(Ends)

Labels:

Inserted: 2010-01-24 09:06 (2 years ago)

Preparing a Release

You know when you have a new release when the following make command returns no issues:

$ make next-milestone
cil summary --is-open --label=Milestone-v0.06
no issues found

Firstly, decide if you are doing a release candidate v0.06-rc1 or a proper release v0.06. Where you see project, release and tag below, substitute the following strings in. For example, try something like these values:

project = cil
release = 0.06
tag     = 0.06.00 (or 0.06-rc1)

Make a Release Branch (for fixing bugs etc)

$ git branch -a
$ git branch v<release>
$ git branch -a
$ git push origin v<release>

Make the Release Tag

$ git tag -l
$ git tag -a -m 'Release v<tag>' v<tag>
$ git push origin v<tag>

Make a tarball from this tag

The download page for the project will be at:

  • http://github.com/andychilton//downloads

Therefore, for this tag, the release will be:

  • http://github.com/andychilton/cil/tarball/v0.06.00

Alternatively, if you’d like to make your own tarball, try:

$ git archive --format=tar --prefix=<project>-<tag>/ v<tag> | \
      gzip > <project>-<tag>.tar.gz

Tell the World

  • Add the tarball to … ?
  • Put a release announcement onto Freshmeat

(Ends)

Labels: release-procedure

Inserted: 2010-01-24 08:31 (2 years ago)