Re: Install/upgrade compatibility for package version numbers derived from VCS data
Re: Install/upgrade compatibility for package version numbers derived from VCS data
- Subject: Re: Install/upgrade compatibility for package version numbers derived from VCS data
- From: Iceberg-Dev <email@hidden>
- Date: Tue, 30 Mar 2010 22:51:01 +0200
On Mar 30, 2010, at 4:27 PM, Jeremy Reichman wrote:
I am interested in the idea of using semantic versioning for
packages I'm
deploying. These packages start out from Mercurial repositories, so
I can
derive the version number from the semver tags ('v1.0.0') and other
data
from the repository to construct Really Specific Version Numbers
during my
automated package building process.
In the following case, I use the tag plus the distance from the
latest tag
and the short hash of the current revision.
$ hg log -r. --template '{latesttag}+{latesttagdistance}-{node|
short}\n' |
sed -e 's/^v//'
1.0.0+1-df34ebfc12c9
The version number used in some Apple packages is bigger than
xx.xx.xx but it does not use + or - or letters.
So it requires testing it.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden