Merge branch 'feature/writeGitCommit' into 'development'

Adds the commit to the output folder

See merge request JorgeGonz/fpakc!40
This commit is contained in:
Jorge Gonzalez 2023-02-09 15:50:36 +00:00
commit 167e25e276

View file

@ -518,6 +518,11 @@ MODULE moduleSolver
INTEGER, INTENT(in):: t
IF (t == tInitial) THEN
CALL SYSTEM('git rev-parse HEAD > ' // path // folder // '/' // 'fpack_commit.txt')
END IF
counterOutput = counterOutput + 1
IF (counterOutput >= triggerOutput .OR. &
t == tFinal .OR. t == tInitial) THEN