diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index e9899d2..0beed1f 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -158,24 +158,25 @@ jobs: xml = '''
Version History
-This page provides the version history for the Bangladesh Core FHIR Implementation Guide.
+Version History
-For a machine-readable version history, see package-list.json.
+This page provides the version history for the Bangladesh Core FHIR Implementation Guide.
-Published Versions
+For a machine-readable version history see package-list.json.
-| Version | -Date | -Status | -Description | -
|---|---|---|---|
| Version | +Date | +Status | +Description | +
|---|---|---|---|
| {version} | -{date} | -{status} | -{desc} | -
| {badge}{version} | +{date} | +{status} | +{desc} | +
| No published versions available yet. | -|||
| No published versions available yet. | +|||
Continuous Integration Build
+Continuous Integration Build
''' current_entry = None @@ -232,15 +250,22 @@ jobs: break if current_entry: - path = escape(current_entry.get('path', 'https://fhir.dghs.gov.bd/core/')) - xml += f'''The latest development build is available at: {path}
-Note: This is a continuous integration build and may be unstable.
+ path = escape(current_entry.get('path', pkg_list.get('canonical', '') + '/')) + xml += f''' +The latest development build is available at: + {path}
+ +No CI build entry found in package-list.json.
+ xml += ''' +No CI build entry found in package-list.json.
''' - xml += '''