release.sh: remove -m option

-m src can skip building binaries

this is pointless. i always want them.

i won't use it, and i'm the only person
who will ever use ./mk release

i'm going to add a -t option in the future
to allow e.g. ./mk -t coreboot

this would do -f but create a tarball of
the source, versioned. e.g.
coreboot-libreboot-27.05_src.tar.xz

or something like that. this would allow
more granular control, if you just want to
get sources.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-09-17 01:13:36 +01:00
parent 60a2f5cbff
commit 7c025e1036
+2 -13
View File
@@ -2,23 +2,13 @@
# Copyright (c) 2023-2026 Leah Rowe <leah@libreboot.org>
eval "`newvar reldest reldir relmode rsrc vdir`"
eval "`newvar reldest reldir rsrc vdir`"
release()
{
export XBMK_RELEASE="y"
reldir="release"
while getopts m: option
do
[ -z "$OPTARG" ] && \
err "empty argument not allowed" "release" "$@"
[ "$option" != "m" ] && \
err "invalid option '-$option'" "release" "$@"
relmode="$OPTARG"
done
reldest="$reldir/$version"
[ -e "$reldest" ] && \
err "already exists: \"$reldest\"" "release" "$@"
@@ -34,8 +24,7 @@ release()
prep_release src
prep_release tarball
[ "$relmode" != "src" ] && \
prep_release bin
prep_release bin
x_ rm -Rf "$rsrc"