diff options
author | heqnx <root@heqnx.com> | 2025-06-04 11:40:38 +0300 |
---|---|---|
committer | heqnx <root@heqnx.com> | 2025-06-04 11:40:38 +0300 |
commit | 78c4e8422f59f5a5cd20b6535f8ce7ad34d67e23 (patch) | |
tree | 6a9d7054212b803b617009090be0dcb3ed50fb4f /build-release.sh | |
parent | cfcce298a86e44df8bc34412965575fc52bf7890 (diff) | |
download | go-assembly-ldr-78c4e8422f59f5a5cd20b6535f8ce7ad34d67e23.tar.gz go-assembly-ldr-78c4e8422f59f5a5cd20b6535f8ce7ad34d67e23.zip |
stripping .git suffix, added license and readme to release
Diffstat (limited to 'build-release.sh')
-rwxr-xr-x | build-release.sh | 3 |
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 ) ' |