mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
* use docker for build steps that require linux when not on linux * use fuse for overlay * quiet mountpoint * node 22 * misc fixes * make shasum more compliant * optimize download-base-image.sh with cleaner url handling and checksum verification * fix script * fixes #2900 * bump node and npm versions in web readme * Minor pl.ts fixes * fixes in response to synapse issues * beta.8 * update ts-matches * beta.11 * pl.ts finetuning --------- Co-authored-by: Mariusz Kogen <k0gen@pm.me> Co-authored-by: Matt Hill <mattnine@protonmail.com>
14 lines
460 B
Bash
Executable File
14 lines
460 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "$GIT_BRANCH_AS_HASH" != 1 ]; then
|
|
GIT_HASH="$(git rev-parse HEAD)$(if ! git diff-index --quiet HEAD --; then echo '-modified'; fi)"
|
|
else
|
|
GIT_HASH="@$(git rev-parse --abbrev-ref HEAD)"
|
|
fi
|
|
|
|
if ! [ -f ./GIT_HASH.txt ] || [ "$(cat ./GIT_HASH.txt)" != "$GIT_HASH" ]; then
|
|
>&2 echo Git hash changed from "$([ -f ./GIT_HASH.txt ] && cat ./GIT_HASH.txt)" to "$GIT_HASH"
|
|
echo -n "$GIT_HASH" > ./GIT_HASH.txt
|
|
fi
|
|
|
|
echo -n ./GIT_HASH.txt |