/
fc_version
executable file
·41 lines (32 loc) · 1.09 KB
/
fc_version
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#/bin/sh
#
# Copyright (C) 2004-2008 Freeciv team
# Version definition for Freeciv.
MAJOR_VERSION="2"
MINOR_VERSION="5"
PATCH_VERSION="99"
VERSION_LABEL="-dev"
IS_DEVEL_VERSION=1
IS_BETA_VERSION=0
NEXT_STABLE_VERSION="2.6.0"
# 0 to disable display of release month until we can make better estimate
RELEASE_MONTH=0
DATASUBDIR=dev
DEFAULT_FOLLOW_TAG=stable
# Freeciv network capstring: see documentation in common/capstr.c
#
# +Freeciv.Devel.YYYY.MMM.DD is the base capability string.
#
# - No new mandatory capabilities can be added to the release branch; doing
# so would break network capability of supposedly "compatible" releases.
#
# - Avoid adding a new mandatory capability to the development branch for
# as long as possible. We want to maintain network compatibility with
# the stable branch for as long as possible.
NETWORK_CAPSTRING_MANDATORY="+Freeciv.Devel-2.6-2013.Aug.30"
NETWORK_CAPSTRING_OPTIONAL=""
FREECIV_DISTRIBUTOR=""
if test x$VERSION_SCRIPT_SILENT != xyes ; then
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}${VERSION_LABEL}
echo ${VERSION}
fi