Browse Source

fix(debian): Do not set the distribution to unstable, otherwise build will fail because there is no gpg signing key

Stefan Profanter 4 years ago
parent
commit
d8b7297416
1 changed files with 5 additions and 3 deletions
  1. 5 3
      tools/prepare_packaging.py

+ 5 - 3
tools/prepare_packaging.py

@@ -29,9 +29,11 @@ version_patch = m.group(3).replace(".", "") if m.group(3) is not None else "0"
 version_label = m.group(4) if m.group(4) is not None else ""
 #print("major {} minor {} patch {} label {}".format(version_major, version_minor, version_patch, version_label))
 
-debian_distribution = "unstable"
-if version_label is not "":
-    debian_distribution = "UNRELEASED"
+# We can not use unstable for now, because dpkg-buildpackage wants to sign them
+# It will fail with gpg: skipped "open62541 Team <open62541-core@googlegroups.com>": No secret key
+#debian_distribution = "unstable"
+#if version_label is not "":
+debian_distribution = "UNRELEASED"
 
 debian_path = os.path.join(dirpath, "debian")
 changelog_file = os.path.join(debian_path, "changelog")