Prepare 0.3.0: ICD-11 MMS integration
This commit is contained in:
@@ -437,8 +437,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
VERSION="${{ steps.version.outputs.version }}"
|
VERSION="${{ steps.version.outputs.version }}"
|
||||||
DATETIME=$(date -u +%Y-%m-%dT%H:%M:%SZ)
|
DATETIME=$(date -u +%Y-%m-%dT%H:%M:%SZ)
|
||||||
|
|
||||||
if [ ! -f "package-feed.xml" ]; then
|
if [ ! -f "package-feed.xml" ]; then
|
||||||
echo "⚠️ package-feed.xml not found, creating initial feed..."
|
echo "⚠️ package-feed.xml not found, creating initial feed..."
|
||||||
|
|
||||||
cat > package-feed.xml <<EOF
|
cat > package-feed.xml <<EOF
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
@@ -448,6 +450,7 @@ jobs:
|
|||||||
</feed>
|
</feed>
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat > update-feed.py << 'EOF'
|
cat > update-feed.py << 'EOF'
|
||||||
import sys
|
import sys
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
@@ -508,6 +511,7 @@ jobs:
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
python3 update-feed.py "$VERSION" "$DATETIME"
|
python3 update-feed.py "$VERSION" "$DATETIME"
|
||||||
|
|
||||||
cp package-list.json output/package-list.json
|
cp package-list.json output/package-list.json
|
||||||
|
|
||||||
echo "📋 Updated registry files"
|
echo "📋 Updated registry files"
|
||||||
|
|||||||
Reference in New Issue
Block a user