biothings/biothings.api

Autobuild is not correctly triggered when last build is a failed one

newgene opened this issue · 1 comments

When autobuild is provided in a build configuration, a new build will be triggered if new versions of the data sources in this build.

This is the place where this check happens. However, looks like when the last build is not a success one, whatsnew method does not correctly detects available new data sources, so no new build is triggered:

The correct logic should be checking the last successful build, instead of just the last build.

released in 0.12.0