From d79819fc361e902c1fcc342935dcb274d96126a5 Mon Sep 17 00:00:00 2001 From: kozyilmaz Date: Sat, 7 Oct 2017 23:59:44 +0300 Subject: [PATCH] version info added to version.txt --- package.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.sh b/package.sh index 3661cdb..ef79d63 100755 --- a/package.sh +++ b/package.sh @@ -40,8 +40,13 @@ export BSPINSTALL=${BSPROOT}/nheqminer-macos-$release_version; mkdir -p ${BSPINSTALL} make cp -a miner/* ${BSPINSTALL} -echo $git_rev_string > ${BSPINSTALL}/version.txt +echo "nheqminer:" > ${BSPINSTALL}/version.txt +echo $git_rev_string >> ${BSPINSTALL}/version.txt echo $git_tag_string >> ${BSPINSTALL}/version.txt +echo "platform:" >> ${BSPINSTALL}/version.txt; sw_vers &>> ${BSPINSTALL}/version.txt +echo "compiler:" >> ${BSPINSTALL}/version.txt; gcc -v &>> ${BSPINSTALL}/version.txt +echo "cuda:" >> ${BSPINSTALL}/version.txt; /usr/local/cuda/bin/nvcc --version &>> ${BSPINSTALL}/version.txt + echo "nheqminer for macOS ($release_version) is installed to ${BSPINSTALL}" # create tarball and checksum