aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-06-04 11:41:50 +0300
committerheqnx <root@heqnx.com>2025-06-04 11:41:50 +0300
commit849c648ad06d79826d5506745d6b8ca7804567f4 (patch)
treefad620e9284dba0ec1a708dc516e2cb19dc96a52
parentf41b8c7b50e5df39a041831f4ff2a52196e73823 (diff)
downloadgo-powerglot-849c648ad06d79826d5506745d6b8ca7804567f4.tar.gz
go-powerglot-849c648ad06d79826d5506745d6b8ca7804567f4.zip
stripping .git suffix, added license and readme to release
-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
)
'