Use correct git commands to extract SHA1 string
Use ^{commit} suffix to rev-parse to extract SHA1 header
Also, only extract the latest tag from the repository
Signed-off-by: Ritesh Raj Sarraf ritesh.sarraf@collabora.com
Use ^{commit} suffix to rev-parse to extract SHA1 header
Also, only extract the latest tag from the repository
Signed-off-by: Ritesh Raj Sarraf ritesh.sarraf@collabora.com