diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-09-29 19:26:55 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-09-29 19:26:55 +0100 |
commit | 99e6dc40e9aeb3ee27cca6a7294754c276f43ab2 (patch) | |
tree | 2e26cb46318b39acead07320e5cedcd5cc9cd4a9 /jenkinstool | |
parent | 21fb320b6f3b5cedfa88e7509e332a8a7b488043 (diff) | |
download | jenkinstool-99e6dc40e9aeb3ee27cca6a7294754c276f43ab2.tar.gz |
Handle multiple tags for bzr commits
Diffstat (limited to 'jenkinstool')
-rwxr-xr-x | jenkinstool | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/jenkinstool b/jenkinstool index da76711..0ca105e 100755 --- a/jenkinstool +++ b/jenkinstool @@ -96,7 +96,11 @@ is_release() if [ -d .bzr ] then - if bzr log -l1 | grep -Fx "tags: ${project}-${version}" + if bzr log -l1 | + sed -n '/^tags: /s///p' | + tr ',' '\n' | + tr -d ' ' | + grep -Fx "${project}-${version}" then return 0 else |