summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/release
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/release')
-rwxr-xr-xresources/scripts/helpers/build/release/roms9
1 files changed, 3 insertions, 6 deletions
diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms
index b22aeef..f5064fb 100755
--- a/resources/scripts/helpers/build/release/roms
+++ b/resources/scripts/helpers/build/release/roms
@@ -55,22 +55,19 @@ for payload in *; do
printf '...%s' "${payload}/${board}"
- # Put the version string in the archive.
- printf '%s\n' "${version}" >"${board}/version"
-
# Delete the old archive
rm -f "../../${romdir}/${payload}/${distname}_${board}.tar.xz"
cp -R "${board}/" "${archivename}/"
+ # Put the version string in the archive.
+ printf '%s\n' "${version}" >"${archivename}/version"
+
# Create the compressed archive.
tar -c "${archivename}/" | xz -9e >"../../${romdir}/${payload}/${archivename}.tar.xz"
rm -Rf "${archivename}/"
- # No longer needed.
- rm -f "${board}/version"
-
printf ' OK\n'
done