mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
8 lines
244 B
Bash
Executable File
8 lines
244 B
Bash
Executable File
#!/bin/sh -x
|
|
ref="$1"
|
|
if [ -z "$ref" ]; then
|
|
echo "You must specify the ref to base the API tarball on."
|
|
exit 1
|
|
fi
|
|
git archive --prefix=humbug-api/ -o /tmp/humbug-api.tar.gz "$ref" api/examples/ api/humbug.py api/__init__.py api/README
|