Add zotero-standalone-build repo as app
folder
Minus obsolete 4.0 files
This commit is contained in:
parent
ae0091fbae
commit
a3d7b58b83
299 changed files with 39600 additions and 0 deletions
14
app/scripts/get_repo_branch_hash
Executable file
14
app/scripts/get_repo_branch_hash
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
ROOT_DIR="$(dirname "$SCRIPT_DIR")"
|
||||
. "$ROOT_DIR/config.sh"
|
||||
|
||||
if [ -z "${1:-}" ]; then
|
||||
echo "Usage: $0 branch"
|
||||
exit 1
|
||||
fi
|
||||
branch=$1
|
||||
|
||||
git ls-remote --exit-code $SOURCE_REPO_URL $branch | cut -f 1
|
Loading…
Add table
Add a link
Reference in a new issue