summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2022-09-09 12:59:22 -0700
committerWayne Davison <wayne@opencoder.net>2022-09-09 12:59:22 -0700
commit1f12b196fd049058e1d12bdf8e9b01dd05f656f0 (patch)
tree52f4039822da7db775924daa5c286e3c03c06ddf /packaging
parentbafe73dd5ce57f56b7d67e1f1eec0cafd1db9a7b (diff)
downloadrsync-1f12b196fd049058e1d12bdf8e9b01dd05f656f0.tar.gz
When deleting a tag, del in the patches dir too.
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/release-rsync2
1 files changed, 2 insertions, 0 deletions
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'):