Commit Graph

36 Commits (c46581e91f0e2c8f489494bb9cdc1752db79d8e5)

Author SHA1 Message Date
George Koehler c655f89d84 Fix: Allow git worktree in version detection; drop svn, hg.
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.
5 years ago
frosch 39cda89e85
Add: Detect stable tags automatically, and set the 'stable' flag in '_openttd_newgrf_version' accordingly. (#7317) 5 years ago
Niels Martin Hansen 46d97239c4 Codechange: Include flag for whether a build is of a tagged revision 5 years ago
Niels Martin Hansen 67c6f945fb Change: Include the full raw git revision hash in rev.cpp 5 years ago
Patric Stout 750927372f Add: [AzurePipeline] introducing a release pipeline
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.
5 years ago
frosch 34cc1f8b7c Fix 192770e6da: Version name in master branch contained a duplicate dash. 6 years ago
frosch 192770e6da Change: Non-tag revisions are now named '<commitdate>-<branch>-g<shorthash><modified>'. 6 years ago
planetmaker 24fec6da12 (svn r27079) -Fix: Compilation with freetype2 version 2.5.4 and newer (AMDmi3) 10 years ago
planetmaker bc371a2d9e (svn r27059) -Change: [Makefile] Make sure to use plain mercurial output unaltered by personal presets 10 years ago
rubidium 2661b5cfff (svn r25107) -Change: be slightly more lenient with trying to detect a 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 11 years ago
michi_cc 28067c21d5 (svn r22435) -Fix: Git revision detection would return too much when tags are involved. 13 years ago
michi_cc 10a7678beb (svn r21857) -Add: Revision detection for hgsubversion repositories. 14 years ago
michi_cc 22922414eb (svn r21856) -Fix (r21840): Don't fail tag detection on hg repositories that use mercurial queues. Add some safety against tags and branches with spaces as well. 14 years ago
michi_cc 5f28591610 (svn r21840) -Change: Support tags created by hgsubversion for the revision detection. 14 years ago
michi_cc 73da045f50 (svn r21839) -Change: Support tags created by git-svn for the revision detection. 14 years ago
rubidium 4aa6a24d95 (svn r21351) -Change: read some metadata from (official) source tarballs so you'll more likely get the right version/revision out-of-the-box 14 years ago
rubidium 50f24a2762 (svn r20313) -Fix (r20309): Mercurial version detection picked up a bit more than it should've picked up. 14 years ago
rubidium 508fe537ff (svn r20309) -Fix [FS#3953]: Mercurial (trunk) revision detection fails when different heads are used 14 years ago
rubidium e8dc701cc4 (svn r20308) -Change: don't only look at only the src directory for the revision, but at the parent of the src directory. 14 years ago
michi_cc 848aa4472f (svn r20050) -Add: git revision detection for custom git-svn clones. 14 years ago
rubidium e84785a6b9 (svn r19898) -Fix [FS#3853]: hg version detection fails for uncommited merges (planetmaker) 14 years ago
michi_cc 3e7fc229ab (svn r19895) -Fix [FS#3836]: Git version detection would sometimes mistakenly identify a checkout as modified. 14 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 1448160e1e (svn r16462) -Change [FS#2930]: use a safer way to detect the hash of a mercurial repository (planetmaker) 15 years ago
rubidium a34d5bb6ab (svn r16318) -Change: use !! instead of @@ in src/*.in too.
-Change: use @ instead of ~ in configure/Makefiles so Debian's build system(s) can also build RC binaries.
15 years ago
smatz 0a357c0ac1 (svn r15062) -Fix: further forgotten svn properties and headers 16 years ago
rubidium a7ff1920f9 (svn r14519) -Fix [FS#2376]: do not use the short hash form for getting a specific mercurial/git revision as those can collide quite easily causing reversion detection to fail (PhilSophus) 16 years ago
smatz 14d8689e66 (svn r14467) -Fix [FS#2350](r14443): use '~' instead of '#' as sed separator, it could be understood in a wrong way by shell 16 years ago
skidd13 5b8af7db3b (svn r14443) -Change: Unify the delimiters used in config* and make* 16 years ago
glx a9d2b4b73c (svn r14355) -Fix: latest svn revision detection from hg log always gave the latest relative to tip revision, not to the current working revision 16 years ago
peter1138 0582039ae0 (svn r14353) -Fix: hg revision detection always gave the tip revision, not the current working revision. 16 years ago
matthijs 3baee8f3c6 (svn r14278) -Cleanup [Makefile]: Rename $TAGS to $TAG. 16 years ago
matthijs 07f353718d (svn r14277) -Change [Makefile]: Use [ -n ... ] instead of using return values from grep and read in findversion.sh. 16 years ago
rubidium 250e4476ba (svn r14273) -Change: make findversion.sh aware of release tags and make it output the REV without the branch name so the CF can use that. 16 years ago
smatz 12dcb3adb4 (svn r14264) -Fix (r14261): 'echo -e' is not recognized on many systems 16 years ago
matthijs 6cf61714ca (svn r14261) -Change [Makefile]: Move the revision detection code from Makefile.src.in to a
new bash script findversion.sh. This commit should have no functional changes.
16 years ago