El 16/10/10 20:04, Stefan Seyfried escribió:
On Sat, 16 Oct 2010 16:09:21 +0200 Dave Plater
wrote: For what it's worth I use the last release version number plus svn revision when I package svn snapshots ie. last release = 1.20 then an svn snapshot from svn rev 748 will become 1.20.748 then the release 1.21 is> 1.20.748.
Fortunately the project uses git, so no revision numbers ;-)
I use this versioning scheme for projects using git: I have a wrapper script, called "mkgitsnap" cat ~/bin/mkgitsnap #!/usr/bin/env bash DATE=$(date --universal +%Y%m%d%H%M) NAME=$1 VERSION=$2 git archive --prefix=${NAME}-${VERSION}_git${DATE}/ HEAD | xz -9 > ${NAME}-${VERSION}_git${DATE}.tar.xz then, in your .gitconfig [alias] ... snap = !mkgitsnap the in the git cloned repo, run git snap <appname> <version> where version is the latest released version. Should work just fine. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org