Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: remoting/host/installer/linux/build-deb.sh

Issue 10872092: Update build-deb.sh to automatically detect version number. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash -e 1 #!/bin/bash -e
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 if [[ -z "$version_full" ]]; then 7 if [[ -z "$version_full" ]]; then
8 echo 'Error: $version_full not set' 8 src_root=./../../../..
9 exit 1 9 version_helper=$src_root/chrome/tools/build/version.py
10 version_base=$($version_helper -f $src_root/remoting/VERSION \
11 -t "@MAJOR@.@MINOR@")
12 version_build=$($version_helper -f $src_root/chrome/VERSION \
13 -t "@BUILD@.@PATCH@")
14 version_full="$version_base.$version_build"
15 echo "Building version $version_full"
Jamie 2012/08/27 20:21:10 Drive-by: This line should probably be outside the
Sergey Ulanov 2012/08/27 20:55:40 Done.
10 fi 16 fi
11 17
12 # Create a fresh debian/changelog. 18 # Create a fresh debian/changelog.
13 export DEBEMAIL="The Chromium Authors <chromium-dev@chromium.org>" 19 export DEBEMAIL="The Chromium Authors <chromium-dev@chromium.org>"
14 rm -f debian/changelog 20 rm -f debian/changelog
15 debchange --create \ 21 debchange --create \
16 --package chrome-remote-desktop \ 22 --package chrome-remote-desktop \
17 --distribution lucid \ 23 --distribution lucid \
18 --newversion "$version_full" \ 24 --newversion "$version_full" \
19 "New Debian package" 25 "New Debian package"
20 26
21 dpkg-buildpackage -b -us -uc 27 dpkg-buildpackage -b -us -uc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698