Commit graph

7 commits

Author SHA1 Message Date
Michael Hohmuth
7bac05c749 Better version reporting for git-tracked repositories: Include the git
commit ID in the version string, much like is done for repos tracked
with bzr.  FS#11297

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29827 a1c6a512-1295-4272-9138-f99709370657
2011-05-06 08:36:10 +00:00
Marcin Bukat
308936cd35 fix make VERSION=x.y to work again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28427 a1c6a512-1295-4272-9138-f99709370657
2010-10-31 21:52:48 +00:00
Torne Wuff
91933a3fef Add support for detecting build version in a bzr checkout (for bzr-svn users).
From FS#10414 (by me)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23187 a1c6a512-1295-4272-9138-f99709370657
2009-10-15 12:38:24 +00:00
Rafaël Carré
7d1528e601 version.sh : fix revision in git-svn trees
"git log .. -1" only shows one commit (the last one), so extract the last line (git-svn-id:..) with tail -n 1, instead of the first line (which is the committer's message in case of multi lines body)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21188 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 15:05:00 +00:00
Andrew Mahone
6df03c6d53 Fix version.sh when it's run outside of the git working directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20934 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 01:14:48 +00:00
Andrew Mahone
1de930227b Attempt to make version.sh a little more resistant to producing spurious "modified" status on git repositories.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20933 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 00:57:35 +00:00
Andrew Mahone
76042cb389 new version.sh that works exactly like svnversion.sh, but functions correctly with pure git repositories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19799 a1c6a512-1295-4272-9138-f99709370657
2009-01-19 16:18:30 +00:00