Skip to content
Snippets Groups Projects
Verified Commit 1a4b4d6d authored by Karel Koci's avatar Karel Koci :metal:
Browse files

generate_lists: add turris-version and git-hash

parent 8fa43428
Branches
Tags
No related merge requests found
......@@ -80,6 +80,9 @@ tb="$(dirname "$(readlink -f "$0")")"
rm -rf "$output_path"
mkdir -p "$output_path"
"$tb/helpers/turris-version.sh" version > "$output_path/turris-version"
( cd "$tb" && git rev-parse HEAD > "$output_path/git-hash" )
m4args=( "--include=$tb/lists" "-D_INCLUDE_=$tb/lists/" "-D_FEEDS_=$tb/feeds.conf" "-D_BRANCH_=$branch" )
[ -z "$fallback" ] || m4args+=( "-D _BRANCH_FALLBACK_=$fallback" )
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment