From 1a8095f06f8d1639bb6743f5b30d8fb1e2544abe Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Thu, 15 Jan 2009 12:51:25 -0500 Subject: [PATCH] Generate packages from the release branch --- build-package.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build-package.sh b/build-package.sh index 783496f62e..54f5d7e338 100755 --- a/build-package.sh +++ b/build-package.sh @@ -16,14 +16,16 @@ fi # Anonymous git http access git clone http://sflphone.org/git/sflphone.git -git checkout debian/0.9.2-4 +cd sflphone +git checkout origin/release release # Get system parameters arch_flag=`getconf -a|grep LONG_BIT | sed -e 's/LONG_BIT\s*//'` os_version=`lsb_release -d -s -c | sed -e '1d'` # Generate the changelog, according to the distribution and the git commit messages -git-dch --release +git-dch --debian-branch=release --release +cd .. # Remove useless git directory rm sflphone/.git/ -rf @@ -44,6 +46,7 @@ wget -q http://www.sflphone.org/downloads/gpg/sflphone.gpg.asc -O- | gpg --impor cd sflphone-0.9.2/debian; debuild -k'Savoir-Faire Linux Inc.' # Clean +cd ../.. rm sflphone-0.9.2/ -rf rm sflphone/ -rf -- GitLab