Commit 4cd8f18a authored by amnesia's avatar amnesia
Browse files

append latest Git commit number to /etc/amnesia/version

parent d46ee2e8
......@@ -82,6 +82,9 @@ esac
# version
mkdir -p config/chroot_local-includes/etc/amnesia/
echo "${AMNESIA_FULL_VERSION}" > config/chroot_local-includes/etc/amnesia/version
if git rev-list HEAD 2>/dev/null; then
git rev-list HEAD | head -n 1 >> config/chroot_local-includes/etc/amnesia/version
# changelog
cp debian/changelog config/chroot_local-includes/usr/share/doc/amnesia/Changelog
Markdown is supported
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