Skip to content

Include version in build

Created by: pmpowers-usgs

Tag and commit hash (git) should be included in builds and reported in any log of a calculation. Ideally model versions are included as well. nshmp-haz builds should include an app.properties. Model builds should include model.properties. The version information should be searched for in those files (created by ant); failing this, git describe --tags should be called directly (as most non-built use of code will be directly from repositories); failing this report version as "unknown".