namshi / roger

A continuous integration and build server for Docker containers
127 stars 26 forks source link

git.getLastCommit works with annotated tags #46

Closed odracci closed 5 years ago

odracci commented 6 years ago

If the last commit is an annotated tag git.getLastCommit fails with the error message "The requested type does not match the type in ODB". This commit solves the issue using "getTagByName" method as a fallback