Commit Graph

38 Commits

Author SHA1 Message Date
glx
e0d20a44d2 Codechange: Use a dynamic copyright year 2020-05-06 09:54:36 +01:00
S. D. Cloudt
13cc8a0cee Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
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.
2019-08-31 20:11:24 +01:00
frosch
39cda89e85
Add: Detect stable tags automatically, and set the 'stable' flag in '_openttd_newgrf_version' accordingly. (#7317) 2019-03-03 20:08:28 +01:00
Niels Martin Hansen
46d97239c4 Codechange: Include flag for whether a build is of a tagged revision 2019-02-12 21:32:43 +00:00
Niels Martin Hansen
67c6f945fb Change: Include the full raw git revision hash in rev.cpp 2019-02-03 18:00:16 +01:00
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.
2019-01-13 11:31:04 +00:00
frosch
34cc1f8b7c Fix 192770e6da: Version name in master branch contained a duplicate dash. 2018-04-14 17:59:35 +02:00
frosch
192770e6da Change: Non-tag revisions are now named '<commitdate>-<branch>-g<shorthash><modified>'. 2018-04-12 22:26:45 +02:00
planetmaker
24fec6da12 (svn r27079) -Fix: Compilation with freetype2 version 2.5.4 and newer (AMDmi3) 2014-12-11 12:25:53 +00:00
planetmaker
bc371a2d9e (svn r27059) -Change: [Makefile] Make sure to use plain mercurial output unaltered by personal presets 2014-11-09 16:37:07 +00:00
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 2013-03-18 06:18:06 +00:00
michi_cc
28067c21d5 (svn r22435) -Fix: Git revision detection would return too much when tags are involved. 2011-05-07 15:13:52 +00:00
michi_cc
10a7678beb (svn r21857) -Add: Revision detection for hgsubversion repositories. 2011-01-19 17:10:57 +00:00
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. 2011-01-19 17:10:52 +00:00
michi_cc
5f28591610 (svn r21840) -Change: Support tags created by hgsubversion for the revision detection. 2011-01-18 21:27:35 +00:00
michi_cc
73da045f50 (svn r21839) -Change: Support tags created by git-svn for the revision detection. 2011-01-18 21:27:30 +00:00
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 2010-11-29 12:49:27 +00:00
rubidium
50f24a2762 (svn r20313) -Fix (r20309): Mercurial version detection picked up a bit more than it should've picked up. 2010-08-02 18:37:37 +00:00
rubidium
508fe537ff (svn r20309) -Fix [FS#3953]: Mercurial (trunk) revision detection fails when different heads are used 2010-08-02 17:16:56 +00:00
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. 2010-08-02 16:38:26 +00:00
michi_cc
848aa4472f (svn r20050) -Add: git revision detection for custom git-svn clones. 2010-07-02 16:34:15 +00:00
rubidium
e84785a6b9 (svn r19898) -Fix [FS#3853]: hg version detection fails for uncommited merges (planetmaker) 2010-05-26 23:01:10 +00:00
michi_cc
3e7fc229ab (svn r19895) -Fix [FS#3836]: Git version detection would sometimes mistakenly identify a checkout as modified. 2010-05-26 03:31:05 +00:00
rubidium
7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
1448160e1e (svn r16462) -Change [FS#2930]: use a safer way to detect the hash of a mercurial repository (planetmaker) 2009-05-29 21:24:51 +00:00
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.
2009-05-16 12:36:33 +00:00
smatz
0a357c0ac1 (svn r15062) -Fix: further forgotten svn properties and headers 2009-01-13 16:30:24 +00:00
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) 2008-10-22 22:07:43 +00:00
smatz
14d8689e66 (svn r14467) -Fix [FS#2350](r14443): use '~' instead of '#' as sed separator, it could be understood in a wrong way by shell 2008-10-14 19:47:28 +00:00
skidd13
5b8af7db3b (svn r14443) -Change: Unify the delimiters used in config* and make* 2008-10-06 17:05:44 +00:00
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 2008-09-17 16:06:05 +00:00
peter1138
0582039ae0 (svn r14353) -Fix: hg revision detection always gave the tip revision, not the current working revision. 2008-09-17 08:32:26 +00:00
matthijs
3baee8f3c6 (svn r14278) -Cleanup [Makefile]: Rename $TAGS to $TAG. 2008-09-09 10:58:23 +00:00
matthijs
07f353718d (svn r14277) -Change [Makefile]: Use [ -n ... ] instead of using return values from grep and read in findversion.sh. 2008-09-09 10:48:04 +00:00
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. 2008-09-08 10:08:55 +00:00
smatz
12dcb3adb4 (svn r14264) -Fix (r14261): 'echo -e' is not recognized on many systems 2008-09-07 17:40:14 +00:00
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.
2008-09-07 13:24:49 +00:00