aboutsummaryrefslogtreecommitdiff
path: root/build-release.sh
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-06-04 11:41:48 +0300
committerheqnx <root@heqnx.com>2025-06-04 11:41:48 +0300
commit9faac9b893f1c1ba6d7ab0af4a316ad852f1f2b4 (patch)
treee0d85f6b3308a3a7813c9d8edf8256aefede707e /build-release.sh
parentbfba838ce6571952d85fe3ab0242d673367ccec8 (diff)
downloadgo-fakessl-9faac9b893f1c1ba6d7ab0af4a316ad852f1f2b4.tar.gz
go-fakessl-9faac9b893f1c1ba6d7ab0af4a316ad852f1f2b4.zip
stripping .git suffix, added license and readme to release
Diffstat (limited to 'build-release.sh')
-rwxr-xr-xbuild-release.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-release.sh b/build-release.sh
index d93c4a0..5f1b978 100755
--- a/build-release.sh
+++ b/build-release.sh
@@ -13,8 +13,9 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y make zip git
(
cd /mnt
REPO_NAME=$(basename $(git remote get-url origin))
+ REPO_NAME="${REPO_NAME%.git}"
make all
- zip -r "${REPO_NAME}-release.zip" build/
+ zip -r "${REPO_NAME}-release.zip" LICENSE README.md build/
make clean
)
'