[cig-commits] [commit] master: changing sub version naming scheme (9aa15a7)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Jan 13 13:49:01 PST 2015
Repository : https://github.com/geodynamics/axisem
On branch : master
Link : https://github.com/geodynamics/axisem/compare/aa78e3997deef5e064d530fbe0744c20fe92dbc4...9aa15a777d459aecda723e8f03086df91f39d88c
>---------------------------------------------------------------
commit 9aa15a777d459aecda723e8f03086df91f39d88c
Author: martinvandriel <vandriel at erdw.ethz.ch>
Date: Tue Jan 13 22:48:18 2015 +0100
changing sub version naming scheme
>---------------------------------------------------------------
9aa15a777d459aecda723e8f03086df91f39d88c
SOLVER/submit.csh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/SOLVER/submit.csh b/SOLVER/submit.csh
index 235c4de..189bdfe 100755
--- a/SOLVER/submit.csh
+++ b/SOLVER/submit.csh
@@ -39,11 +39,12 @@ if ( $netcdf_requested == 'true' && $netcdf_compiled != 'true') then
exit
endif
-echo "SVN_VERSION RELEASE_1.2" > runinfo
+set gitversion = `git describe --dirty --abbrev=4 --always --tags`
+echo $gitversion "GIT_VERSION" > runinfo
set username = `whoami`
-echo $username "USER_NAME " >> runinfo
+echo $username "USER_NAME" >> runinfo
set hostname = `hostname`
-echo $hostname "HOST_NAME " >> runinfo
+echo $hostname "HOST_NAME" >> runinfo
set FFLAGS = `grep "^FFLAGS" ../make_axisem.macros`
echo $FFLAGS >> runinfo
set CFLAGS = `grep "^CFLAGS" ../make_axisem.macros`
More information about the CIG-COMMITS
mailing list