From: Gordon Hecker Date: Fri, 4 Dec 2009 11:46:10 +0000 (+0100) Subject: git: verify that the project tag is pushed to the remote repository X-Git-Tag: e2factory-2.3.3rc1~2 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=a90508df29a6e90cd263036dce348ec7df228287;p=e2factory.git git: verify that the project tag is pushed to the remote repository Signed-off-by: Gordon Hecker --- diff --git a/local/e2tool.lua b/local/e2tool.lua index 53f205f..bb2a0b7 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -781,6 +781,14 @@ The newest configuration syntax supported by the tools is %s. e2lib.abort(e:cat(re)) end end + + if e2option.opts["check-remote"] then + rc, re = generic_git.verify_remote_tag(nil, info.release_id) + if not rc then + e:append("verifying remote tag failed") + e2lib.abort(e:cat(re)) + end + end return info, nil end