publish: Merge pull request #11 from sanemat/feature/detect-repos

generated from commit 491b8c50e8a0af01052b63f75736f8e6480836ad