When deleting a tag, del in the patches dir too.
authorWayne Davison <wayne@opencoder.net>
Fri, 9 Sep 2022 19:59:22 +0000 (12:59 -0700)
committerWayne Davison <wayne@opencoder.net>
Fri, 9 Sep 2022 19:59:22 +0000 (12:59 -0700)
packaging/release-rsync

index f37bd18422e25fe60a8375d9bff9e4682bb23c95..9603fd10ad6fbcc5b4151321981b38abafb47930 100755 (executable)
@@ -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'):