Skip to content

Commit 5bea074

Browse files
committed
feat: Add gitversion
1 parent 70d77ca commit 5bea074

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

alteriso/configs/xfce/profiledef.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ file_permissions=(
2323
["/usr/local/bin/Installation_guide"]="0:0:755"
2424
["/usr/local/bin/livecd-sound"]="0:0:755"
2525
)
26+
27+
git_revision="$(git rev-parse --short HEAD 2>/dev/null || true)"
28+
if [[ -n "$git_revision" ]]; then
29+
iso_version+="-$git_revision"
30+
fi

0 commit comments

Comments
 (0)