added more stable support for publishing artifacts v1.2.1.1