Fix missing asc file in Linux build artifacts

The asc was created for the AppImage, but never uploaded as an
artifact.

Fixes CURA-11087
This commit is contained in:
Jelle Spijker 2023-10-02 09:49:04 +02:00
parent 5552b5ced3
commit 6106ade3af
No known key found for this signature in database
GPG key ID: 034D1C0527888B65
3 changed files with 18 additions and 2 deletions

View file

@ -38,7 +38,7 @@ def build_appimage(dist_path, version, appimage_filename):
"""
generate_appimage_builder_config(dist_path, version, appimage_filename)
create_appimage()
sign_appimage(dist_path, appimage_filename)
sign_appimage(appimage_filename)
def generate_appimage_builder_config(dist_path, version, appimage_filename):
@ -85,7 +85,7 @@ def create_appimage():
raise RuntimeError(f"The AppImageTool command returned non-zero: {result}")
def sign_appimage(dist_path, appimage_filename):
def sign_appimage(appimage_filename):
command = ["gpg", "--yes", "--armor", "--detach-sig", appimage_filename]
result = subprocess.call(command)
if result != 0: