mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
9 lines
240 B
Bash
Executable File
9 lines
240 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
|
|
cd api
|
|
git archive --prefix=humbug-api/ -o /tmp/humbug-api.tar.gz "$ref" examples/ humbug.py __init__.py README bin/
|