diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c1926d..e961bb4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,9 +72,14 @@ jobs: # Copy rootfs structure (without generated content) mkdir -p release/sparkos/rootfs - cp -r rootfs/etc release/sparkos/rootfs/ 2>/dev/null || true - cp -r rootfs/root release/sparkos/rootfs/ 2>/dev/null || true - cp -r rootfs/home release/sparkos/rootfs/ 2>/dev/null || true + # Copy rootfs directories if they exist (some may not be populated) + for dir in etc root home; do + if [ -d "rootfs/$dir" ]; then + cp -r "rootfs/$dir" release/sparkos/rootfs/ + else + echo "Note: rootfs/$dir does not exist, skipping" + fi + done # Create README for the release cat > release/sparkos/RELEASE_README.md << 'EOF' diff --git a/README.md b/README.md index 80b3319..58921a0 100644 --- a/README.md +++ b/README.md @@ -216,7 +216,7 @@ SparkOS uses GitHub Actions for continuous integration and delivery: **Automated Builds:** - Docker images are automatically built on every push to main/develop branches - Compiled release packages are automatically built on every push to main/develop branches -- Images and releases are also built for pull requests (testing only, not published) +- Both are also built for pull requests (testing only, not published) - Tagged releases automatically create versioned Docker images and GitHub releases with compiled binaries - **Multi-architecture builds**: Images are built for both AMD64 (x86_64) and ARM64 (aarch64)