From a90508df29a6e90cd263036dce348ec7df228287 Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Fri, 4 Dec 2009 12:46:10 +0100 Subject: [PATCH] git: verify that the project tag is pushed to the remote repository Signed-off-by: Gordon Hecker --- local/e2tool.lua | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5