summaryrefslogtreecommitdiffstats
path: root/tools/version.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-07-09build: Get rid of svn vestiges from version scriptSolomon Peachy1-37/+9
Set 10-character git shortrevs for consistency with modern git defaults Change-Id: I694f09acd5da1c9b837c9a71a82bd7b72578efd7
2011-12-31Fix up tools/version.sh for git transition.Torne Wuff1-1/+1
Since we will be transitioning to git, stop considering svn the primary source. If HEAD is a git-svn revision, return the svn revision number as before (this means that if you check out old versions they keep their previously canonical version numbers) but if it's not, then just print the short SHA1. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31480 a1c6a512-1295-4272-9138-f99709370657
2011-12-31Remove bzr support from tools/version.sh.Torne Wuff1-26/+0
Only I ever used this that I know of, and now we are migrating to git it's not needed (and won't work correctly, since we won't be svn-derived). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31479 a1c6a512-1295-4272-9138-f99709370657
2011-05-06Better version reporting for git-tracked repositories: Include the gitMichael Hohmuth1-9/+8
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
2010-10-31fix make VERSION=x.y to work againMarcin Bukat1-16/+19
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28427 a1c6a512-1295-4272-9138-f99709370657
2009-10-15Add support for detecting build version in a bzr checkout (for bzr-svn users).Torne Wuff1-0/+26
From FS#10414 (by me) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23187 a1c6a512-1295-4272-9138-f99709370657
2009-06-04version.sh : fix revision in git-svn treesRafaël Carré1-1/+1
"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-05-15Fix version.sh when it's run outside of the git working directory.Andrew Mahone1-6/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20934 a1c6a512-1295-4272-9138-f99709370657
2009-05-15Attempt to make version.sh a little more resistant to producing spurious ↵Andrew Mahone1-4/+3
"modified" status on git repositories. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20933 a1c6a512-1295-4272-9138-f99709370657
2009-01-19new version.sh that works exactly like svnversion.sh, but functions ↵Andrew Mahone1-0/+85
correctly with pure git repositories git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19799 a1c6a512-1295-4272-9138-f99709370657