Skip to content

Commit a3ceebc

Browse files
committed
Merge pull request #81 from dankessler/spm8Batch/VersionLogging
Spm8Batch/VersionLogging
2 parents 31d30a3 + 663b66f commit a3ceebc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

spm8Batch/auxiliary/shellScriptFinalize

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ echo "# ${execDIR}"
3333
echo "#" >> ${FULLSCRIPTNAME}.sh
3434

3535
BATCHVERSION=`cat ${thisDir}/.spm8BatchVersion`
36+
[[ -f ${thisDir}/../.local/CurrentVersionSHA ]] && mcSHA=`cat ${thisDir}/../.local/CurrentVersionSHA`
37+
[[ -f ${thisDir}/../.local/mc_releasetag ]] && mc_releasetag=`cat ${thisDir}/../.local/mc_releasetag`
3638

3739
echo "# spm8Batch Version : ${BATCHVERSION}" >> ${FULLSCRIPTNAME}.sh
40+
echo "# MethodsCore Release Tag : ${mc_releasetag}" >> ${FULLSCRIPTNAME}.sh
41+
echo "# MethodsCore Repository SHA-ID: $mcSHA" >> ${FULLSCRIPTNAME}.sh
3842
echo "#" >> ${FULLSCRIPTNAME}.sh
3943
echo "# All done" >> ${FULLSCRIPTNAME}.sh
4044
echo "#" >> ${FULLSCRIPTNAME}.sh

0 commit comments

Comments
 (0)