jenkins.sh in govuk_content_models-8.0.0 vs jenkins.sh in govuk_content_models-8.1.0

- old
+ new

@@ -2,6 +2,8 @@ set -e rm -f Gemfile.lock bundle install --path "${HOME}/bundles/${JOB_NAME}" export GOVUK_APP_DOMAIN=dev.gov.uk bundle exec rake -bundle exec rake publish_gem +if [[ -n "$PUBLISH_GEM" ]]; then + bundle exec rake publish_gem +fi