Infusion release tags
Justin Obara
obara.justin at gmail.com
Wed Mar 8 17:52:00 UTC 2017
We’ve been exploring releasing versioned instanced of our documentation.
However, while exploring this, we noticed that the tag names for the
release versions across the repos didn’t match and that the names didn’t
align with the semver based version numbers used in the package.json files.
Not to mention that the tags changed format from “fluid-<version>” to
“infusion-<version>” along the way.
To rectify this, I’ve created new tags for both repos with tag names like
“v2.0.0”. All of the previous tags are still in place, but we’ll be keeping
this new tagging scheme going forward. I’ve also updated the Releases
<https://github.com/fluid-project/infusion/releases> page on GitHub to
point the releases at the new tags, and updated the release documentation
<https://wiki.fluidproject.org/display/fluid/Release+Process+-+Tag%2C+Package+and+Test+the+Release>
.
In generating the new tags, I’ve attempted to keep all the information from
the original. For example original tagger and date. I was able to do this
with a command that looked like the following:
GIT_COMMITTER_DATE="Wed, 7 Dec 2016 10:59:26 -0500"
GIT_COMMITTER_NAME="Justin Obara" GIT_COMMITTER_EMAIL="obarajustin at gmail.com"
git tag -a v2.0.0 $(git rev-list -n 1 infusion-2.0) -m "NOJIRA: Tagging
v2.0.0”;
Unfortunately most of the tags for Infusion were created from release
branches when we moved from SVN to GIT. These seem to be lightweight tags
which don’t have all of the authorship information. For those I used a
command like the following to create new lightweight tags:
GIT_COMMITTER_DATE="$(git show fluid-1.0 --format=%aD | head -1)"
GIT_COMMITTER_NAME="$(git show fluid-1.0 --format=%aN | head -1)"
GIT_COMMITTER_EMAIL="$(git show fluid-1.0 --format=%aE | head -1)" git tag
v1.0.0 $(git rev-list -n 1 fluid-1.0);
Although it’s likely that the committer name and e-mail didn’t translate to
anything in the tag, I thought it useful to attempt to preserve them. The
Thanks
Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idrc.ocad.ca/pipermail/fluid-work/attachments/20170308/e5c290ed/attachment.html>
More information about the fluid-work
mailing list