From 3ae4da3e494fff81e189381902472553b56609dc Mon Sep 17 00:00:00 2001 From: MaddoScientisto Date: Sun, 22 Feb 2026 14:51:44 +0100 Subject: [PATCH] Enhance publish_release job: export version and add release metadata for automated releases --- .gitlab-ci.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb87b2e..050a0aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -120,6 +120,7 @@ publish_release: version=$(minver 2>/dev/null | tail -n1 || true) if [ -z "$version" ]; then echo "minver failed to produce a version"; exit 1; fi echo "Using version: $version" + export VERSION="$version" # find the single-file exe from the publish output file=$(find imagecatalog/bin -type f -iname '*.exe' -print | head -n1 || true) if [ -z "$file" ]; then file=$(find imagecatalog -type f -iname '*.exe' -print | head -n1 || true); fi @@ -131,13 +132,18 @@ publish_release: assetUrl="$CI_SERVER_URL$assetPath" echo "Uploaded asset url: $assetUrl" basename=$(basename "$file") - cat > release.json <