Skip to content

Commit a98ee64

Browse files
author
Pablo Mendez
committed
compress ubuntu
1 parent a732f1a commit a98ee64

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,20 +113,18 @@ jobs:
113113
run: |
114114
ls -lrt images/Dappnode-ubuntu-*.iso
115115
116-
- name: Compress Ubuntu Dappnode unattended ISO
117-
run: |
118-
file=$(ls images/Dappnode-*-ubuntu-*-unattended.iso)
119-
xz -T0 -z -v "$file"
120-
121116
- name: Set Ubuntu Dappnode unattended ISO name
122117
run: |
123118
file=$(ls images/Dappnode-ubuntu-*.iso)
124119
filename=$(basename "$file") # Extract only the file name (without path)
125120
core_filename="Dappnode-${CORE_VERSION}-ubuntu-${filename#Dappnode-ubuntu-}" # Modify the filename using CORE_VERSION
126121
unattended_filename="${core_filename/%.iso/-unattended.iso}" # Replace .iso with -unattended.iso
127122
sudo cp "$file" "images/$unattended_filename"
128-
# Compress the new file as well
129-
xz -T0 -z -v "images/$unattended_filename"
123+
124+
- name: Compress Ubuntu Dappnode unattended ISO
125+
run: |
126+
file=$(ls images/Dappnode-*-ubuntu-*-unattended.iso)
127+
xz -T0 -z -v "$file"
130128
131129
- name: Create dappnode_profile.sh
132130
run: |

0 commit comments

Comments
 (0)