Commit Graph

9 Commits

Author SHA1 Message Date
Guy Scharf
8a0dc47279 New update_gitinfo.bat and changes to oscar.pro to support new versioning on Windows 2020-01-18 19:56:25 -07:00
sawinglogz
79ec192051 Fix update_gitinfo to detect detached head state properly. 2020-01-17 16:19:13 -05:00
sawinglogz
656f8a3c61 Attempt to update update_gitinfo.bat to match the bash script.
This is almost certain to be broken. Somebody with a Windows build
environment will need to test and fix it.
2020-01-16 17:47:48 -05:00
sawinglogz
c71a953afd Add build metadata to version string.
Also update git scripts to make build metadata compliant with
semantic versioning.
2020-01-16 11:33:39 -05:00
sawinglogz
609e02b2c5 Fix to update_gitinfo.bat from Guy for the case where no git_info.h exists yet. 2019-05-08 12:01:06 -04:00
sawinglogz
71c05c4625 Change the current working directory instead of using --work-dir.
It was previously working in a false-positive state, where it would behave as
expected if you ran "make" from within a subdirectory of the git repo. If you
ran make anywhere else, at least diff-index would break.
2019-05-07 16:50:58 -04:00
sawinglogz
c42e5d7ef0 update_gitinfo.bat fixes from Guy 2019-05-07 15:56:21 -04:00
sawinglogz
5923325917 Multiple update_gitinfo tweaks.
Change -C to --work-dir to work on earlier versions of git.
Add "+" to the revision number if there are uncommitted changes.
Only rewrite the git_info.h if there are changes, so that make doesn't think the file has changed.
2019-05-07 09:41:51 -04:00
Phil Olynyk
17b53482bd Change folder and file name from oscr to oscar 2019-02-22 19:23:39 -05:00