From fb7da424c8b58c5a8d9c63a3d366983b66b72ee0 Mon Sep 17 00:00:00 2001 From: g40 <g4@novadsp.com> Date: Wed, 8 Jul 2015 13:42:38 +0100 Subject: [PATCH] Write a 'latest_version' file for automation --- .gitignore | 1 + RootStock-NG.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 77afe8ad6..8f3404837 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +latest_version ignore/ deploy/ git/ diff --git a/RootStock-NG.sh b/RootStock-NG.sh index ee0108bff..1ac0a1448 100755 --- a/RootStock-NG.sh +++ b/RootStock-NG.sh @@ -109,6 +109,9 @@ check_project_config () { . ${DIR}/configs/${project_config}.conf export_filename="${deb_distribution}-${release}-${image_type}-${deb_arch}-${time}" + # for automation + echo "${export_filename}" > ${DIR}/latest_version + echo "tempdir=\"${tempdir}\"" > ${DIR}/.project echo "time=\"${time}\"" >> ${DIR}/.project echo "export_filename=\"${export_filename}\"" >> ${DIR}/.project -- GitLab