fixes to publishing nighlies