Merge "Specify "unknown" if version generation for plugins fails."

This commit is contained in:
David Pursehouse 2017-10-01 09:53:15 +00:00 committed by Gerrit Code Review
commit 512eb25dcd

View File

@ -17,6 +17,6 @@ function rev() {
echo STABLE_BUILD_GERRIT_LABEL $(rev .)
for p in plugins/* ; do
test -d "$p" || continue
echo STABLE_BUILD_$(echo $(basename $p)_LABEL|tr '[a-z]' '[A-Z]' ) $(rev $p)
echo STABLE_BUILD_$(echo $(basename $p)_LABEL|tr '[a-z]' '[A-Z]' ) $(rev $p || echo unknown)
done
echo "STABLE_WORKSPACE_ROOT ${PWD}"