updated script to publish new packages version with releases