Setup fixes post 1.5 release (#902)

* The main version must now always include the patch number
* Fix bug in pip build script
* Fix bug in debian sha256 function call
This commit is contained in:
Veronica Berglyd Olsen
2021-09-19 13:43:20 +02:00
committed by GitHub
parent 18cadf8db5
commit 1386be23f4
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -636,7 +636,8 @@ def makeDebianPackage(signKey=None, sourceBuild=False, distName="unstable", buil
toUpload(f"{bldDir}/{bldPkg}.tar.xz")
else:
subprocess.call(["dpkg-buildpackage"] + signArgs, cwd=outDir)
toUpload(f"{bldDir}/{bldPkg}.tar.xz", f"{bldPkg}.debian.tar.xz")
shutil.copyfile(f"{bldDir}/{bldPkg}.tar.xz", f"{bldDir}/{bldPkg}.debian.tar.xz")
toUpload(f"{bldDir}/{bldPkg}.debian.tar.xz")
toUpload(f"{bldDir}/{bldPkg}_all.deb")
toUpload(makeCheckSum(f"{bldPkg}.debian.tar.xz", cwd=bldDir))