On Fri, October 07, 2011, Rodolfo kix Garcia wrote:

> probably something like this is better:
>
> BASEVERSION="`head -1 changelog | cut -d\( -f2 | cut -d\- -f1`"
>
> What do you think? Then, if the version is changed in the changelog, is 
> changed in the script.

Yep, I've appended an amended patch to this mail.

@Carlos, would you consider that one?

M'bert

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
My opinions may have changed, but not the fact that I am right. 
>From f230c36d8958ebd2753b625fbeb4e7a8a02f5984 Mon Sep 17 00:00:00 2001
From: Martin Dietze <[email protected]>
Date: Fri, 7 Oct 2011 10:08:44 +0200
Subject: [PATCH] Version bump in nightly build script.

---
 debian/nightly_build.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/debian/nightly_build.sh b/debian/nightly_build.sh
index c90ec11..11ec73f 100755
--- a/debian/nightly_build.sh
+++ b/debian/nightly_build.sh
@@ -1,7 +1,8 @@
 #!/bin/sh
 
 CHLOGBKP="/tmp/$$-chlog"
-BASEVERSION="0.93.0"
+#BASEVERSION="0.94.0"
+BASEVERSION="`head -1 debian/changelog | cut -d\( -f2 | cut -d\- -f1`"
 REPOVERSION="git-`date +%Y%m%d-%H%M`"
 
 CHANGELOG="Automatic build from the GIT on `date`"
-- 
1.7.5.4

Reply via email to