summaryrefslogtreecommitdiff
path: root/findversion.sh
AgeCommit message (Collapse)Author
2020-05-06Codechange: Use a dynamic copyright yearglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-08-31Fix: Allow git worktree in version detection; drop svn, hg.George Koehler
If $ROOT_DIR is a linked working tree from git-worktree(1), then $ROOT_DIR/.git is a regular file instead of a directory. Allow this when deciding whether to use git to detect OpenTTD's version. Drop checks for svn and hg in config.lib, because findversion.sh hasn't used svn nor hg since 192770e6da.
2019-03-03Add: Detect stable tags automatically, and set the 'stable' flag in ↵frosch
'_openttd_newgrf_version' accordingly. (#7317)
2019-02-12Codechange: Include flag for whether a build is of a tagged revisionNiels Martin Hansen
2019-02-03Change: Include the full raw git revision hash in rev.cppNiels Martin Hansen
2019-01-13Add: [AzurePipeline] introducing a release pipelinePatric Stout
This release pipeline creates all the official release binaries, and publishes them as artifacts. Currently it can only produce nightlies and custom builds; stable/testing release binaries are untested. This commit also splits up the pipeline in small bits, to both improve readability, and to share code with the CI pipeline where possible.
2018-04-14Fix 192770e6da: Version name in master branch contained a duplicate dash.frosch
2018-04-12Change: Non-tag revisions are now named ↵frosch
'<commitdate>-<branch>-g<shorthash><modified>'.
2014-12-11(svn r27079) -Fix: Compilation with freetype2 version 2.5.4 and newer (AMDmi3)planetmaker
2014-11-09(svn r27059) -Change: [Makefile] Make sure to use plain mercurial output ↵planetmaker
unaltered by personal presets
2013-03-18(svn r25107) -Change: be slightly more lenient with trying to detect a ↵rubidium
subversion repository in case someone has a sparse tags checkout. In that case the .svn folder misses from the $ROOT_DIR because it is in the $ROOT_DIR/.. (i.e. tags) folder
2011-05-07(svn r22435) -Fix: Git revision detection would return too much when tags ↵michi_cc
are involved.
2011-01-19(svn r21857) -Add: Revision detection for hgsubversion repositories.michi_cc
2011-01-19(svn r21856) -Fix (r21840): Don't fail tag detection on hg repositories that ↵michi_cc
use mercurial queues. Add some safety against tags and branches with spaces as well.
2011-01-18(svn r21840) -Change: Support tags created by hgsubversion for the revision ↵michi_cc
detection.
2011-01-18(svn r21839) -Change: Support tags created by git-svn for the revision ↵michi_cc
detection.
2010-11-29(svn r21351) -Change: read some metadata from (official) source tarballs so ↵rubidium
you'll more likely get the right version/revision out-of-the-box
2010-08-02(svn r20313) -Fix (r20309): Mercurial version detection picked up a bit more ↵rubidium
than it should've picked up.
2010-08-02(svn r20309) -Fix [FS#3953]: Mercurial (trunk) revision detection fails when ↵rubidium
different heads are used
2010-08-02(svn r20308) -Change: don't only look at only the src directory for the ↵rubidium
revision, but at the parent of the src directory.
2010-07-02(svn r20050) -Add: git revision detection for custom git-svn clones.michi_cc
2010-05-26(svn r19898) -Fix [FS#3853]: hg version detection fails for uncommited ↵rubidium
merges (planetmaker)
2010-05-26(svn r19895) -Fix [FS#3836]: Git version detection would sometimes ↵michi_cc
mistakenly identify a checkout as modified.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-05-29(svn r16462) -Change [FS#2930]: use a safer way to detect the hash of a ↵rubidium
mercurial repository (planetmaker)
2009-05-16(svn r16318) -Change: use !! instead of @@ in src/*.in too.rubidium
-Change: use @ instead of ~ in configure/Makefiles so Debian's build system(s) can also build RC binaries.
2009-01-13(svn r15062) -Fix: further forgotten svn properties and headerssmatz
2008-10-22(svn r14519) -Fix [FS#2376]: do not use the short hash form for getting a ↵rubidium
specific mercurial/git revision as those can collide quite easily causing reversion detection to fail (PhilSophus)
2008-10-14(svn r14467) -Fix [FS#2350](r14443): use '~' instead of '#' as sed ↵smatz
separator, it could be understood in a wrong way by shell
2008-10-06(svn r14443) -Change: Unify the delimiters used in config* and make*skidd13
2008-09-17(svn r14355) -Fix: latest svn revision detection from hg log always gave the ↵glx
latest relative to tip revision, not to the current working revision
2008-09-17(svn r14353) -Fix: hg revision detection always gave the tip revision, not ↵peter1138
the current working revision.
2008-09-09(svn r14278) -Cleanup [Makefile]: Rename $TAGS to $TAG.matthijs
2008-09-09(svn r14277) -Change [Makefile]: Use [ -n ... ] instead of using return ↵matthijs
values from grep and read in findversion.sh.
2008-09-08(svn r14273) -Change: make findversion.sh aware of release tags and make it ↵rubidium
output the REV without the branch name so the CF can use that.
2008-09-07(svn r14264) -Fix (r14261): 'echo -e' is not recognized on many systemssmatz
2008-09-07(svn r14261) -Change [Makefile]: Move the revision detection code from ↵matthijs
Makefile.src.in to a new bash script findversion.sh. This commit should have no functional changes.