Hello,
I would like to be able to use the Sourcetree commit hash in my automated fpga build as a unique identifier to ID the automated build. I've been tasked to use the 40 nibble (hex char) value of the commit hash to do this.
I'm a novice Sourcetree user and would like to do the following:
1) In the repo directory structure find the file that contains the commit hash code.
2) copy that hash code into another text file where I have defined a parameter. This .vh file is also a file in the repo.
3) In place of the existing file, hash_var.vh, I would like my build script to use this new file and then run the build.
Can you help