CONQUEST-release icon indicating copy to clipboard operation
CONQUEST-release copied to clipboard

Find safer way to get date and git info during build

Open tkoskela opened this issue 1 year ago • 5 comments

Currently the makefile extracts the current date and time and the git branch and hash via a mixture of sed and shell commands. I found this fails, e.g. when I have a / in the git branch name. There might be a safer way to get this information.

https://github.com/OrderN/CONQUEST-release/blob/3a6e1f697e0bd3fd1101715e56bf3c7b7a7fde63/src/Makefile#L61

tkoskela avatar May 24 '23 11:05 tkoskela