1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

Restore correct workflow

This commit is contained in:
bbedward
2025-10-13 20:22:18 -04:00
parent 9b96dae744
commit 07fe2ca407

View File

@@ -61,12 +61,14 @@ jobs:
## Assets ## Assets
### Complete Packages ### Complete Packages
- **`dms-full-amd64.tar.gz`** - Complete package for x86_64 systems (CLI binary + QML source + installation guide) - **`dms-full-amd64.tar.gz`** - Complete package for x86_64 systems (CLI binaries + QML source + installation guide)
- **`dms-full-arm64.tar.gz`** - Complete package for ARM64 systems (CLI binary + QML source + installation guide) - **`dms-full-arm64.tar.gz`** - Complete package for ARM64 systems (CLI binaries + QML source + installation guide)
### Individual Components ### Individual Components
- **`dms-cli-amd64.gz`** - DMS CLI binary for x86_64 systems - **`dms-cli-amd64.gz`** - DMS CLI binary for x86_64 systems
- **`dms-cli-arm64.gz`** - DMS CLI binary for ARM64 systems - **`dms-cli-arm64.gz`** - DMS CLI binary for ARM64 systems
- **`dms-distropkg-amd64.gz`** - DMS CLI binary built with distro_package tag for AMD64 systems
- **`dms-distropkg-arm64.gz`** - DMS CLI binary built with distro_package tag for ARM64 systems
- **`dms-qml.tar.gz`** - QML source code only - **`dms-qml.tar.gz`** - QML source code only
### Checksums ### Checksums
@@ -112,14 +114,16 @@ jobs:
# Download DMS CLI binaries from the danklinux repo # Download DMS CLI binaries from the danklinux repo
gh release download "${TAG}" -R "${DMS_REPO}" --dir ./_dms_assets gh release download "${TAG}" -R "${DMS_REPO}" --dir ./_dms_assets
# Rename CLI binaries to dms-cli-* format # Rename CLI binaries to dms-cli-* format and copy distropkg binaries
for file in _dms_assets/dms-*.gz*; do for file in _dms_assets/dms-*.gz*; do
if [ -f "$file" ]; then if [ -f "$file" ]; then
basename=$(basename "$file") basename=$(basename "$file")
# dms-amd64.gz -> dms-cli-amd64.gz if [[ "$basename" == dms-distropkg-* ]]; then
# dms-amd64.gz.sha256 -> dms-cli-amd64.gz.sha256 cp "$file" "_release_assets/$basename"
newname=$(echo "$basename" | sed 's/^dms-/dms-cli-/') else
cp "$file" "_release_assets/$newname" newname=$(echo "$basename" | sed 's/^dms-/dms-cli-/')
cp "$file" "_release_assets/$newname"
fi
fi fi
done done
@@ -148,6 +152,12 @@ jobs:
chmod +x _temp_full/bin/dms chmod +x _temp_full/bin/dms
fi fi
# Copy distropkg binary if it exists
if [ -f "_dms_assets/dms-distropkg-${arch}.gz" ]; then
gunzip -c "_dms_assets/dms-distropkg-${arch}.gz" > _temp_full/bin/dms-distropkg
chmod +x _temp_full/bin/dms-distropkg
fi
# Create INSTALL.md # Create INSTALL.md
cat > _temp_full/INSTALL.md << 'EOF' cat > _temp_full/INSTALL.md << 'EOF'
# DankMaterialShell Installation # DankMaterialShell Installation
@@ -166,7 +176,7 @@ jobs:
cp -r dms ~/.config/quickshell/ cp -r dms ~/.config/quickshell/
``` ```
2. **Install the DMS CLI binary:** 2. **Install the DMS CLI binaries:**
```bash ```bash
sudo install -m 755 bin/dms /usr/local/bin/dms sudo install -m 755 bin/dms /usr/local/bin/dms
# or install to a local directory: # or install to a local directory: