diff options
author | Leah Rowe <leah@libreboot.org> | 2025-10-04 10:09:24 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-10-04 10:09:24 +0100 |
commit | 8334c93dac9d6d601c9ae3e585195f0171513293 (patch) | |
tree | f190d236b54c7af1be5148916409ed9974fbb8b6 /include/release.sh | |
parent | 8969cc734f8f9855fa4bbfa92c18224adb9e5ddc (diff) |
release.sh: preserve clean sbase before building
this way, the clean version can be placed inside the
release tarball.
there is a make clean option in sbase, but we should
not really on this.
the design of xbmk is that a clean src tarball is
created. there must not be build artifications in it.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/release.sh')
-rw-r--r-- | include/release.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/release.sh b/include/release.sh index 3657f6af..35a9c711 100644 --- a/include/release.sh +++ b/include/release.sh @@ -76,6 +76,8 @@ prep_release() prep_release_src() { + x_ cp -R "util/sbase" "util/sbase2" + x_ ./mk -f fx_ "x_ rm -Rf" x_ find . -name ".git" @@ -103,7 +105,8 @@ prep_release_tarball() err "can't create '$rsrc/CHANGELOG'" "prep_release_tarball" "$@" x_ rm -f "$rsrc/lock" "$rsrc/cache" - x_ rm -Rf "$rsrc/xbmkwd" + x_ rm -Rf "$rsrc/xbmkwd" "$rsrc/util/sbase" + x_ mv "$rsrc/util/sbase2" "$rsrc/util/sbase" ( x_ cd "${rsrc%/*}" |