VERSIONFILE="VERSION.cmake"
test -f "$VERSIONFILE" || errexit "No version file '$VERSIONFILE'"
+LANG="en"
+
## Version.cmake tags in getversion() are still zypp specific.
function usage() {
entry template:
-------------------------------------------------------------------
- Wed Jul 30 18:20:06 CEST 2008 ma@suse.de
+ Wed Jul 30 18:20:06 CEST 2008 - ma@suse.de
-
- - revision 10702
#---delete-or-release---# LAST RELEASED: 5.3.2 (2) NEW RELEASE: 5.4.0 (4)
-The revision number is a guess and assumes you will check in to
-SVN shortly after editing (current server revision + 1).
-
The line '#---delete-or-release---#...' shows the last version submitted
to autobuild ('# LAST RELEASED:; tag in $VERSIONFILE). And also the current
version, asuming you already updated the $VERSIONFILE according to your changes.
'
}
-function nextrevision() {
- svn status -u CMakeLists.txt \
- | awk '/^Status against revision:/{print $4+1}'
-}
-
-
test -r /etc/sysconfig/mail && source /etc/sysconfig/mail
EMAIL="${USER}@${FROM_HEADER:-$(hostname -f)}"
exec 3>&1-
exec >$TMPFILE
echo "-------------------------------------------------------------------"
-echo "$(date) $EMAIL"
+echo "$(date) - $EMAIL"
echo ""
echo "- "
-echo "- revision $(nextrevision)"
echo "$GOTVERSION"
echo ""
cat $CHANGESFILE