Fixed a bug in publish script [skip ci]
Fixed a bug in publish script [skip ci]

jcf/heroku-buildpack-jvm-common,pwalczak/testagapw,heroku/heroku-buildpack-jvm-common,pwalczak/testagapw,jcf/heroku-buildpack-jvm-common,Scalingo/jvm-common-buildpack,Scalingo/jvm-common-buildpack,heroku/heroku-buildpack-jvm-common