Brad Bishop | be86180 | 2015-11-11 13:56:17 -0500 | [diff] [blame^] | 1 | def git_describe(d): |
2 | return bb.process.run("git describe --dirty")[0] | ||||
3 | def git_tag(d): | ||||
4 | return bb.process.run("git tag")[0] | ||||
5 | |||||
6 | VERSION_ID = "${@git_tag(d)}" | ||||
7 | BUILD_ID = "${@git_describe(d)}" | ||||
8 | OS_RELEASE_FIELDS_append = " BUILD_ID" |