#
All checks were successful
FHIR IG CI/CD Pipeline with Version Persistence / build-ig (push) Successful in 6m34s
FHIR IG CI/CD Pipeline with Version Persistence / deploy (push) Successful in 10s

This commit is contained in:
2026-03-07 23:31:52 +06:00
parent 958eba6c44
commit 7125b57aa2

View File

@@ -377,15 +377,6 @@ jobs:
echo "================================"
echo "✅ Build successful!"
- name: Ensure registry files in output for dev builds
if: steps.version.outputs.build_type == 'dev'
run: |
cp package-list.json output/package-list.json
if [ -f "package-feed.xml" ]; then
cp package-feed.xml output/package-feed.xml
fi
echo "📋 Copied registry files for dev artifact"
- name: Update package-feed.xml for releases
if: steps.version.outputs.build_type == 'release'
run: |
@@ -559,9 +550,12 @@ jobs:
echo "⚠️ WARNING: history.html not found in deployment"
fi
cp /tmp/fhir-ig-deploy/package-list.json "$VERSIONS_DIR/package-list.json"
cp /tmp/fhir-ig-deploy/package-feed.xml "$VERSIONS_DIR/package-feed.xml"
cp "$TARGET_DIR/package-list.json" "$VERSIONS_DIR/package-list.json"
cp "$TARGET_DIR/package-feed.xml" "$VERSIONS_DIR/package-feed.xml"
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"