#/bin/sh
#
#  Copyright (C) 2004-2008 Freeciv team

# Version definition for Freeciv.

MAJOR_VERSION="2"
MINOR_VERSION="4"
PATCH_VERSION="2"
VERSION_LABEL=""

IS_DEVEL_VERSION=0
IS_BETA_VERSION=0

NEXT_STABLE_VERSION="2.5.0"

# 0 to disable display of release month until we can make better estimate
RELEASE_MONTH=0

DATASUBDIR=2.4
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-2.4-network"
NETWORK_CAPSTRING_OPTIONAL="rules_finished trademindist_size actcount_range wonder_city_id"

FREECIV_DISTRIBUTOR=""

if test x$VERSION_SCRIPT_SILENT != xyes ; then
  VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}${VERSION_LABEL}
  echo ${VERSION}
fi
