A temporary fix for artifactory push before multiple architectures

This commit is contained in:
Mikhail f. Shiryaev 2022-04-07 12:25:00 +02:00
parent 9c5ad2a158
commit 58d381de5c
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -40,13 +40,12 @@ class Packages:
"_".join((name, version, arch + ".deb")) for name, arch in self.packages "_".join((name, version, arch + ".deb")) for name, arch in self.packages
) )
rev = "2"
self.rpm = tuple( self.rpm = tuple(
"-".join((name, version, rev + "." + self.rpm_arch[arch] + ".rpm")) "-".join((name, version + "." + self.rpm_arch[arch] + ".rpm"))
for name, arch in self.packages for name, arch in self.packages
) )
self.tgz = tuple(f"{name}-{version}.tgz" for name, _ in self.packages) self.tgz = tuple(f"{name}-{version}-amd64.tgz" for name, _ in self.packages)
def arch(self, deb_pkg: str) -> str: def arch(self, deb_pkg: str) -> str:
if deb_pkg not in self.deb: if deb_pkg not in self.deb: