".deb",
".debian.tar.xz",
".dsc",
+ ".orig.tar.xz",
]
)
p.unlink()
# regenerate the "orig" tarball from the current source
- run(["dh_make", "-y", "--indep", "--createorig", "-p", "strikebot_" + version], cwd = upstream_root)
+ run(["dh_make", "--python", "--createorig", "-p", "strikebot_" + version], cwd = upstream_root)
- # build the package
- run(["debuild"], cwd = upstream_root, check = True)
+ # build the source package
+ run(["debuild", "-i", "-us", "-uc", "-S"], cwd = upstream_root, check = True)
# move outputs to build directory
for p in project_root.iterdir():