fixes to publishing nighlies
Merge pull request #126 from lrytz/publish-fixes

fixes to publishing nighlies