File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 8080 run : |
8181 file=$(ls images/Dappnode-debian-*.iso)
8282 filename=$(basename "$file") # Extract only the file name (without path)
83- attended_filename="images/Dappnode-${CORE_VERSION}-debian-${filename#Dappnode-debian-}" # Modify the filename using CORE_VERSION
84- sudo cp "$file" "$attended_filename"
83+ core_filename="Dappnode-${CORE_VERSION}-debian-${filename#Dappnode-debian-}" # Modify the filename using CORE_VERSION
84+ attended_filename="${core_filename/%.iso/-attended.iso}" # Replace .iso with -attended.iso
85+ sudo cp "$file" "images/$attended_filename"
8586
8687 - name : Build Debian unattended
8788 run : |
@@ -167,9 +168,9 @@ jobs:
167168 tag_name : ${{ github.event.inputs.core }}
168169 prerelease : true
169170 files : |
170- ./images/Dappnode-${CORE_VERSION} -debian-*.iso
171- ./images/Dappnode-${CORE_VERSION} -debian-*-unattended.iso
172- ./images/Dappnode-${CORE_VERSION} -ubuntu-*-unattended.iso
171+ ./images/Dappnode-* -debian-*-attended .iso
172+ ./images/Dappnode-* -debian-*-unattended.iso
173+ ./images/Dappnode-* -ubuntu-*-unattended.iso
173174 ./scripts/dappnode_install*.sh
174175 ./scripts/dappnode_uninstall*.sh
175176 dappnode_profile.sh
You can’t perform that action at this time.
0 commit comments