🔧 Fix YAML syntax error - Replace problematic heredoc

-  Fix syntax error on line 117 (could not find expected ':')
- 🔄 Replace EOF heredoc with individual echo commands
-  YAML now passes syntax validation
- 📝 Line length warnings remain (non-critical formatting)
- 🎯 Target: Resolve YAML syntax issues that could cause CI failures
This commit is contained in:
joe 2025-08-13 19:59:17 -07:00
parent 079e67e9ac
commit 0cd7ca2703

View file

@ -1,3 +1,4 @@
---
name: Comprehensive CI/CD Pipeline
on:
@ -103,15 +104,13 @@ jobs:
# Create control file
mkdir -p debian/apt-ostree/DEBIAN
cat > debian/apt-ostree/DEBIAN/control << 'EOF'
Package: apt-ostree
Version: 0.1.0
Architecture: amd64
Maintainer: Robojerk <robojerk@example.com>
Description: APT-OSTree package for Debian-based OSTree systems
A tool for managing OSTree deployments with APT package management.
Provides atomic updates and rollback capabilities for Debian systems.
EOF
echo "Package: apt-ostree" > debian/apt-ostree/DEBIAN/control
echo "Version: 0.1.0" >> debian/apt-ostree/DEBIAN/control
echo "Architecture: amd64" >> debian/apt-ostree/DEBIAN/control
echo "Maintainer: Robojerk <robojerk@example.com>" >> debian/apt-ostree/DEBIAN/control
echo "Description: APT-OSTree package for Debian-based OSTree systems" >> debian/apt-ostree/DEBIAN/control
echo " A tool for managing OSTree deployments with APT package management." >> debian/apt-ostree/DEBIAN/control
echo " Provides atomic updates and rollback capabilities for Debian systems." >> debian/apt-ostree/DEBIAN/control
# Build package
dpkg-deb --build debian/apt-ostree apt-ostree_0.1.0_amd64.deb