summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2022-08-19 08:57:47 -0700
committerWayne Davison <wayne@opencoder.net>2022-08-19 09:49:52 -0700
commit2c1204032b15bd0c4c7ce54b65090867492557e2 (patch)
treec9ce7893e55d72641f494494ebd28c19135bcf76 /packaging
parent8adc2240e0badaf8b66ea1d77314fe1bf162209a (diff)
downloadrsync-2c1204032b15bd0c4c7ce54b65090867492557e2.tar.gz
Make sure that the configure.sh script is up-to-date in a release.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/pkglib.py2
-rwxr-xr-xpackaging/release-rsync8
2 files changed, 5 insertions, 5 deletions
diff --git a/packaging/pkglib.py b/packaging/pkglib.py
index 52f3d892..6f5557aa 100644
--- a/packaging/pkglib.py
+++ b/packaging/pkglib.py
@@ -32,7 +32,7 @@ def _tweak_opts(cmd, opts, **maybe_set_args):
opts = opts.copy()
_maybe_set(opts, **maybe_set_args)
- if type(cmd) == str:
+ if isinstance(cmd, str):
_maybe_set(opts, shell=True)
want_raw = opts.pop('raw', False)
diff --git a/packaging/release-rsync b/packaging/release-rsync
index 5e54d06e..f37bd184 100755
--- a/packaging/release-rsync
+++ b/packaging/release-rsync
@@ -232,7 +232,7 @@ About to:
cmd_chk(['packaging/year-tweak'])
print(dash_line)
- cmd_run("git diff")
+ cmd_run("git diff".split())
srctar_name = f"{rsync_ver}.tar.gz"
pattar_name = f"rsync-patches-{version}.tar.gz"
@@ -247,7 +247,7 @@ About to:
About to:
- git commit all changes
- - generate the manpages
+ - run a full build, ensuring that the manpages & configure.sh are up-to-date
- merge the {args.master_branch} branch into the patch/{args.master_branch}/* branches
- update the files in the "patches" dir and OPTIONALLY (if you type 'y') to
run patch-update with the --make option (which opens a shell on error)
@@ -258,9 +258,9 @@ About to:
if s.returncode:
die('Aborting')
- cmd_chk('make gen')
+ cmd_chk('touch configure.ac && packaging/smart-make && make gen')
- print(f'Creating any missing patch branches.')
+ print('Creating any missing patch branches.')
s = cmd_run(f'packaging/branch-from-patch --branch={args.master_branch} --add-missing')
if s.returncode:
die('Aborting')