diff options
author | Leah Rowe <leah@libreboot.org> | 2024-05-15 01:23:22 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-05-15 01:27:45 +0100 |
commit | 189b70ddcb2c7b69a93b3b74b801ba588ccb60ef (patch) | |
tree | 65caee45e6e1374070223ddbe475397876e7a9a5 /build | |
parent | 36d45474c0ddde8da030f8a482829c9379b8097a (diff) |
build/roms: create full release tarball name
set relname from option.sh under check_project()
now the release logic simply has to move a directory
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'build')
-rwxr-xr-x | build | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -16,8 +16,7 @@ fi . "include/vendor.sh" . "include/mrc.sh" -eval "$(setvars "" script_path aur_notice vdir relname src_dirname srcdir \ - _xm target romdir mode)" +eval "$(setvars "" script_path aur_notice vdir src_dirname srcdir _xm mode)" err="fail" linkpath="${0}" @@ -140,7 +139,6 @@ mkrelease() check_project vdir="${vdir}/${version}" - relname="${projectname}-${version}" [ "${mode}" = "u-boot" ] && relname="u-boot-for-${relname}" src_dirname="${relname}_src" srcdir="${vdir}/${src_dirname}" @@ -216,14 +214,7 @@ mkrom_images() ./build roms all || $err "${_xm}: roms-all" ./build roms serprog rp2040 || $err "${_xm}: rp2040" ./build roms serprog stm32 || $err "${_xm}: stm32" - - for rombuild in bin/*.tar.xz; do - [ -f "${rombuild}" ] || continue - tarball="release/$version/roms/${relname}_${rombuild##*/}" - mv "$rombuild" "$tarball" || $err "Cannot create $tarball" - done - - mv "release/${version}/roms/" ../roms || $err "${_xm}: copy roms/" + x_ mv bin ../roms } mkversion() |