summaryrefslogtreecommitdiff
path: root/tools/version.sh (follow)
Commit message (Collapse)AuthorAge
* Fix up tools/version.sh for git transition.Torne Wuff2011-12-31
| | | | | | | | | | 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
* Remove bzr support from tools/version.sh.Torne Wuff2011-12-31
| | | | | | | | 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
* Better version reporting for git-tracked repositories: Include the gitMichael Hohmuth2011-05-06
| | | | | | | 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
* fix make VERSION=x.y to work againMarcin Bukat2010-10-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28427 a1c6a512-1295-4272-9138-f99709370657
* Add support for detecting build version in a bzr checkout (for bzr-svn users).Torne Wuff2009-10-15
| | | | | | | From FS#10414 (by me) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23187 a1c6a512-1295-4272-9138-f99709370657
* version.sh : fix revision in git-svn treesRafaël Carré2009-06-04
| | | | | | "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
* Fix version.sh when it's run outside of the git working directory.Andrew Mahone2009-05-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20934 a1c6a512-1295-4272-9138-f99709370657
* Attempt to make version.sh a little more resistant to producing spurious ↵Andrew Mahone2009-05-15
| | | | | | "modified" status on git repositories. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20933 a1c6a512-1295-4272-9138-f99709370657
* new version.sh that works exactly like svnversion.sh, but functions ↵Andrew Mahone2009-01-19
correctly with pure git repositories git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19799 a1c6a512-1295-4272-9138-f99709370657