diff options
author | heqnx <root@heqnx.com> | 2025-06-04 11:41:49 +0300 |
---|---|---|
committer | heqnx <root@heqnx.com> | 2025-06-04 11:41:49 +0300 |
commit | 4a70391e46141322531e0f21c1086f87025e086c (patch) | |
tree | 830a0f8e3a6fd0a3d85454ad01bfc5c452489f43 /build-release.sh | |
parent | 1b657c4ddd1128960e1d0449bc82e12cb19d99c4 (diff) | |
download | go-linkfinder-4a70391e46141322531e0f21c1086f87025e086c.tar.gz go-linkfinder-4a70391e46141322531e0f21c1086f87025e086c.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 ) ' |