Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include project version from git in /api/v2/service/info
The git tag should determine the project version. There are other ways to do this but we don't want to depend on GH actions to set the version. Here's an example json payload (of a local branch with uncommited changes) for the endpoint: ```json { "compiletime": { "name": "MapRouletteAPI", "version": "4.4.5-3-gae3b68b-SNAPSHOT", "scalaVersion": "2.13.10", "sbtVersion": "1.7.2", "buildDate": "2023-08-15", "javaVersion": "11.0.20", "javaVendor": "Eclipse Adoptium", "gitCommit": "ae3b68b70410628fa6a338db977b18b85af9c06a", "gitCommitMessage": "Eliminate use of 'null' in TaskReviewRepository query and improve readability (#1058)", "gitCommitDate": "2023-08-12T19:00:34-0500", "gitBranch": "ljdelight/setVersionDuringBuild", "gitHasUncommitedChanges": true, "gitDescribe": "4.4.5-3-gae3b68b" }, "runtime": { "javaVersion": "11.0.20", "javaVendor": "Eclipse Adoptium", "startDateTime": "2023-08-15T00:16:57.505786" } } ```
- Loading branch information