summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2013-06-06 18:53:06 -0400
committerLogan Dethrow <log@lindenlab.com>2013-06-06 18:53:06 -0400
commit36812775a4e3dc4badb64175582b43f9166b973b (patch)
tree8c54bd2cef7d989fba436a4c3d5acf60e1360387 /build.sh
parentd8a8f03da285fde9b13c5a16d0de209fc098133b (diff)
Updated llappearance-utility-source autobuild package to latest and changed debian changelog mangling to include codeticket number.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index dfb0ddad7a..4b966acbe0 100755
--- a/build.sh
+++ b/build.sh
@@ -276,10 +276,14 @@ then
then
begin_section "Build Viewer Debian Package"
local have_private_repo=false
+
+ # Get the current version.
+ local current_version=`dpkg-parsechangelog | grep ^Version | awk '{ print $2 }'`
+
# mangle the changelog
dch --force-bad-version \
--distribution unstable \
- --newversion "${revision}" \
+ --newversion "${current_version}"+"${revision}" \
"Automated build #$build_id, repository $branch revision $revision." \
>> "$build_log" 2>&1