diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2011-12-14 10:44:01 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2011-12-14 10:44:20 +0100 |
commit | 05d08f187a0a7211e3fed85ee0b5d2b61abf47f8 (patch) | |
tree | 994ca12bbffe2c65a93d728c658eba89dcbc0887 | |
parent | 3684fcdc0f80bc79dd06796f34c6ad5faa8894bb (diff) |
Add latest tag name to buildid string.
-rw-r--r-- | solenv/bin/modules/installer/scriptitems.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm index bb8fe55156e0..5a4dbb31e5b6 100644 --- a/solenv/bin/modules/installer/scriptitems.pm +++ b/solenv/bin/modules/installer/scriptitems.pm @@ -815,7 +815,7 @@ sub replace_setup_variables if ( $localbuild =~ /^\s*(\w+?)(\d+)\s*$/ ) { $localbuild = $2; } # using "680" instead of "src680" - my $buildidstring = `$ENV{'SRC_ROOT'}/g -s log -n 1 --pretty=format:%h-`; + my $buildidstring = `$ENV{'SRC_ROOT'}/g -s log -n 1 --pretty=format:%h- ; git describe --abbrev=0`; if (!$buildidstring) { $buildidstring = $localbuild . $localminor . "(Build:" . $installer::globals::buildid . ")"; } |