From ab9f55b36a5e1889ef89612b35699ac54e1b2f46 Mon Sep 17 00:00:00 2001 From: Daniel A Kessler Date: Mon, 16 Jul 2012 15:25:02 -0400 Subject: [PATCH 1/2] The log files for spm8Batch will now include the SHA of the MethodsCore repository, if available --- spm8Batch/auxiliary/shellScriptFinalize | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spm8Batch/auxiliary/shellScriptFinalize b/spm8Batch/auxiliary/shellScriptFinalize index 678fcc7c..3c44c1ff 100644 --- a/spm8Batch/auxiliary/shellScriptFinalize +++ b/spm8Batch/auxiliary/shellScriptFinalize @@ -33,8 +33,10 @@ echo "# ${execDIR}" echo "#" >> ${FULLSCRIPTNAME}.sh BATCHVERSION=`cat ${thisDir}/.spm8BatchVersion` +[[ -f ${thisDir}/../.local/CurrentVersionSHA ]] && mcSHA=`cat ${thisDir}/../.local/CurrentVersionSHA` echo "# spm8Batch Version : ${BATCHVERSION}" >> ${FULLSCRIPTNAME}.sh +echo "# MethodsCore Repository SHA-ID: $mcSHA" >> ${FULLSCRIPTNAME}.sh echo "#" >> ${FULLSCRIPTNAME}.sh echo "# All done" >> ${FULLSCRIPTNAME}.sh echo "#" >> ${FULLSCRIPTNAME}.sh From 663b66f43f4972f6cd75ec937fcb8e15010bfa00 Mon Sep 17 00:00:00 2001 From: Daniel A Kessler Date: Mon, 16 Jul 2012 15:53:24 -0400 Subject: [PATCH 2/2] log files for spm8Batch will now also include the human readable release tag from .local/mc_releasetag if available --- spm8Batch/auxiliary/shellScriptFinalize | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spm8Batch/auxiliary/shellScriptFinalize b/spm8Batch/auxiliary/shellScriptFinalize index 3c44c1ff..18c18cc4 100644 --- a/spm8Batch/auxiliary/shellScriptFinalize +++ b/spm8Batch/auxiliary/shellScriptFinalize @@ -34,8 +34,10 @@ echo "#" BATCHVERSION=`cat ${thisDir}/.spm8BatchVersion` [[ -f ${thisDir}/../.local/CurrentVersionSHA ]] && mcSHA=`cat ${thisDir}/../.local/CurrentVersionSHA` +[[ -f ${thisDir}/../.local/mc_releasetag ]] && mc_releasetag=`cat ${thisDir}/../.local/mc_releasetag` echo "# spm8Batch Version : ${BATCHVERSION}" >> ${FULLSCRIPTNAME}.sh +echo "# MethodsCore Release Tag : ${mc_releasetag}" >> ${FULLSCRIPTNAME}.sh echo "# MethodsCore Repository SHA-ID: $mcSHA" >> ${FULLSCRIPTNAME}.sh echo "#" >> ${FULLSCRIPTNAME}.sh echo "# All done" >> ${FULLSCRIPTNAME}.sh