mirror of git://git.psyced.org/git/psyclpc
30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
# This file defines a number of shell variables to describe the projects
|
|
# version. It is meant to be modified by the bumpversion script.
|
|
#
|
|
# Funny, we have to change the parsing for CVS versus SVN.
|
|
# Maybe we should start using SVN instead? Ye ye yeh
|
|
|
|
# The checkin date
|
|
version_date=$(echo "\$Date: 2008/05/29 13:06:04 $$" | perl -pe 's%.*\b(\d+)/(\d+)/(\d+)\b.*%\1-\2-\3%')
|
|
|
|
# The checkin time
|
|
version_time=$(echo "\$Date: 2008/05/29 13:06:04 $$" | perl -pe 's%.*\b(\d+:\d+:\d+)\b.*%\1%')
|
|
|
|
# The checkin revision
|
|
version_revision=$(echo "\$Revision: 1.55 $" | sed -e 's/[$]Revision: \([0-9]*\.[0-9]*\) *\$/\1/')
|
|
|
|
# The version type: dev, stable, maintenance, release
|
|
version_type="stable"
|
|
version_longtype="binarius"
|
|
|
|
# A timestamp, to be used by bumpversion and other scripts.
|
|
# It can be used, for example, to 'touch' this file on every build, thus
|
|
# forcing revision control systems to add it on every checkin automatically.
|
|
version_stamp="Thu May 29 15:01:57 CEST 2008"
|
|
|
|
# The version number information
|
|
# Okay, LDMUD is using 3.x.x so to avoid conflicts let's just use 4.x.x
|
|
version_major=4
|
|
version_minor=0
|
|
version_micro=8
|