Prepare 0.3.0: ICD-11 MMS integration
All checks were successful
FHIR IG CI/CD Pipeline with Version Persistence / build-ig (push) Successful in 6m24s
FHIR IG CI/CD Pipeline with Version Persistence / deploy (push) Successful in 10s

This commit is contained in:
2026-03-08 15:21:35 +06:00
parent a8ada6f73b
commit 7cffa7f5d9

View File

@@ -437,18 +437,21 @@ jobs:
run: |
VERSION="${{ steps.version.outputs.version }}"
DATETIME=$(date -u +%Y-%m-%dT%H:%M:%SZ)
if [ ! -f "package-feed.xml" ]; then
echo "⚠️ package-feed.xml not found, creating initial feed..."
cat > package-feed.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>bd.fhir.core</title>
<id>https://fhir.dghs.gov.bd/core/package-feed.xml</id>
<updated>$DATETIME</updated>
</feed>
EOF
fi
cat > update-feed.py << 'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>bd.fhir.core</title>
<id>https://fhir.dghs.gov.bd/core/package-feed.xml</id>
<updated>$DATETIME</updated>
</feed>
EOF
fi
cat > update-feed.py << 'EOF'
import sys
import xml.etree.ElementTree as ET
@@ -507,10 +510,11 @@ jobs:
print("✅ Updated package-feed.xml")
EOF
python3 update-feed.py "$VERSION" "$DATETIME"
cp package-list.json output/package-list.json
python3 update-feed.py "$VERSION" "$DATETIME"
echo "📋 Updated registry files"
cp package-list.json output/package-list.json
echo "📋 Updated registry files"
- name: Prepare deployment artifact
run: |