diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index 4fce6c1..dfdad52 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -61,7 +61,8 @@ jobs: - name: Build FHIR IG run: | echo "Building FHIR IG version ${{ steps.version.outputs.version }}..." - + mkdir -p input/_data + cp package-list.json input/_data/package-list.json CONTAINER_ID=$(docker create \ hl7fhir/ig-publisher-base:latest \ /bin/bash -c "cp -r /home/publisher/ig /tmp/build && cd /tmp/build && _updatePublisher.sh -y && _genonce.sh") diff --git a/input/pagecontent/history.xml b/input/pagecontent/history.xml index 02a9367..f9e9b34 100644 --- a/input/pagecontent/history.xml +++ b/input/pagecontent/history.xml @@ -1,15 +1,7 @@ -
+

Version History

-

- This page provides the version history for the Bangladesh Core FHIR Implementation Guide. -

-

- For a machine-readable version history, see package-list.json. -

- - -

Published Versions

+ @@ -20,12 +12,12 @@ - {% for ver in site.data.info.versions %} - {% if ver.id != 'current' %} + {% for ver in site.data['package-list'].list %} + {% if ver.version != 'current' %} - + - + {% endif %} @@ -33,13 +25,7 @@
{{ver.id}}{{ver.version}} {{ver.date}}{{ver.status}}{{ver.status}} {{ver.desc}}
- -

Continuous Integration Build

- {% for ver in site.data.info.versions %} - {% if ver.id == 'current' %} -
-

Latest development build is available at: {{ver.url}}

-
- {% endif %} - {% endfor %} + {% if site.data['package-list'] == nil %} +

Notice: package-list.json not found in _data folder during build.

+ {% endif %}
\ No newline at end of file