mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
* add nc-broadcast to view initialization.sh logs * include stderr * refactor build * add frontend/config.json as frontend dependency * fix nc-broadcast * always run all workflows * address dependabot alerts * fix build caching * remove registries.json * more efficient build
9 lines
226 B
Bash
Executable File
9 lines
226 B
Bash
Executable File
#!/bin/bash
|
|
|
|
GIT_HASH="$(git describe --always --abbrev=40 --dirty=-modified)"
|
|
|
|
if ! [ -f ./GIT_HASH.txt ] || [ "$(cat ./GIT_HASH.txt)" != "$GIT_HASH" ]; then
|
|
echo -n "$GIT_HASH" > ./GIT_HASH.txt
|
|
fi
|
|
|
|
echo -n ./GIT_HASH.txt |