mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-24 13:34:56 +00:00
Address code review feedback: improve error handling and grammar
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -72,9 +72,14 @@ jobs:
|
|||||||
|
|
||||||
# Copy rootfs structure (without generated content)
|
# Copy rootfs structure (without generated content)
|
||||||
mkdir -p release/sparkos/rootfs
|
mkdir -p release/sparkos/rootfs
|
||||||
cp -r rootfs/etc release/sparkos/rootfs/ 2>/dev/null || true
|
# Copy rootfs directories if they exist (some may not be populated)
|
||||||
cp -r rootfs/root release/sparkos/rootfs/ 2>/dev/null || true
|
for dir in etc root home; do
|
||||||
cp -r rootfs/home release/sparkos/rootfs/ 2>/dev/null || true
|
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
|
# Create README for the release
|
||||||
cat > release/sparkos/RELEASE_README.md << 'EOF'
|
cat > release/sparkos/RELEASE_README.md << 'EOF'
|
||||||
|
|||||||
@@ -216,7 +216,7 @@ SparkOS uses GitHub Actions for continuous integration and delivery:
|
|||||||
**Automated Builds:**
|
**Automated Builds:**
|
||||||
- Docker images are automatically built on every push to main/develop branches
|
- 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
|
- 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
|
- 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)
|
- **Multi-architecture builds**: Images are built for both AMD64 (x86_64) and ARM64 (aarch64)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user