From: Wayne Davison Date: Fri, 9 Sep 2022 19:59:22 +0000 (-0700) Subject: When deleting a tag, del in the patches dir too. X-Git-Tag: v3.2.7pre1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f12b196fd049058e1d12bdf8e9b01dd05f656f0;p=thirdparty%2Frsync.git When deleting a tag, del in the patches dir too. --- diff --git a/packaging/release-rsync b/packaging/release-rsync index f37bd184..9603fd10 100755 --- a/packaging/release-rsync +++ b/packaging/release-rsync @@ -105,6 +105,8 @@ def main(): if not re.match(r'^del', ans, flags=re.I): die("Aborted") cmd_chk(['git', 'tag', '-d', v_ver]) + if os.path.isdir('patches/.git'): + cmd_chk(f"cd patches && git tag -d '{v_ver}'") version = re.sub(r'[-.]*pre[-.]*', 'pre', version) if 'pre' in version and not curversion.endswith('dev'):