Permalink
Browse files

MB-5305 use PRODUCT_VERSION instead of git_describe if it is set

Change-Id: Iffe38ee2df32255c2f9d6389d781ed1032badd55
Reviewed-on: http://review.couchbase.org/16957
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Farshid Ghods <farshid@couchbase.com>
Reviewed-by: Farshid Ghods <farshid@couchbase.com>
  • Loading branch information...
1 parent ab77923 commit 1caa47df2cfe7922c75e6cbd4b72e70d7789321c @farshidce farshidce committed with Farshid Ghods Jun 7, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 config/version.pl
View
@@ -5,6 +5,9 @@
use strict;
my $version = `git describe`;
+if ($ENV{'PRODUCT_VERSION'}) {
+ $version = $ENV{'PRODUCT_VERSION'}
+}
chomp $version;
# Test the various versions.
#my $version = 'foob';

0 comments on commit 1caa47d

Please sign in to comment.