diff options
| author | Paul <jappe+github@posteo.de> | 2026-10-07 02:57:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-07 02:57:21 +0200 |
| commit | 97bfb7c1777d944859f6c6eeef4894daa18203b8 (patch) | |
| tree | 51b364fc76f7a0f37b1efcd7fe2295080ceb01cb /bin | |
| parent | 357effeedf8439459004f113bb532a7011e95fe5 (diff) | |
| parent | 7c302a753b1814345fcb26eb78dec97db6b698df (diff) | |
| download | slskd-97bfb7c1777d944859f6c6eeef4894daa18203b8.tar.gz | |
Merge branch 'master' into fix/upload-retry-button
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/build | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -39,7 +39,12 @@ while test $# -gt 0; do esac done -if [ -z "$version" ]; then +if [ -z "$version" ]; then + if ! command -v git >/dev/null 2>&1; then + echo "💥 error: git is required to compose the version, but the executable couldn't be found" + exit 1 + fi + tag=$(git describe --tags --abbrev=0) sha=$(git rev-parse --short HEAD) version=$tag+$sha |
