From 9968c28e5c81a7158c0d586ad41f6151773d3266 Mon Sep 17 00:00:00 2001 From: "Dr. B. M. Riazul Islam" Date: Sat, 7 Mar 2026 23:51:13 +0600 Subject: [PATCH] # --- .gitea/workflows/ci-cd.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index e304144..0f3e3e2 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -107,7 +107,7 @@ jobs: "current": True }) - if build_type == 'release' and os.environ.get("POST_PUBLISH") == "true": + if build_type == 'release': version_exists = any(e.get('version') == version for e in pkg_list['list']) if not version_exists: new_entry = { @@ -555,7 +555,7 @@ jobs: cp "$TARGET_DIR/package-list.json" "/opt/fhir-ig/package-list.json" cp "$TARGET_DIR/package-feed.xml" "/opt/fhir-ig/package-feed.xml" - + if [ "$build_type" = "release" ]; then echo "Updating 'current' symlink to point to $version" rm -f "$VERSIONS_DIR/current"