aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-03-06 10:53:46 -0800
committerGitHub <noreply@github.com>2022-03-06 10:53:46 -0800
commit2588fb02625b510d18d146540910aeb40f630b72 (patch)
tree57cd607122b8fbcbec7bc61332dd7db3c48f027a
parentc6e0aafc1d35c545446742f01982a9579be7cfaa (diff)
parenteb9c2a7177a4f5ca071e6b08b443447852329d63 (diff)
downloadonionshare-2588fb02625b510d18d146540910aeb40f630b72.tar.gz
onionshare-2588fb02625b510d18d146540910aeb40f630b72.zip
Merge pull request #1540 from egypcio/shallow-copy
Suggest the use of git shallow copy, while cloning
-rwxr-xr-xbuild-source.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-source.sh b/build-source.sh
index 0946683d..f3d19f15 100755
--- a/build-source.sh
+++ b/build-source.sh
@@ -36,7 +36,7 @@ fi
mkdir -p build/source
mkdir -p dist
cd build/source
-git clone https://github.com/onionshare/onionshare.git
+git clone --single-branch --branch $TAG --depth 1 https://github.com/onionshare/onionshare.git
cd onionshare
# Verify tag