File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff 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 : |
You can’t perform that action at this time.
0 commit comments