#!/bin/bash -x
set -e
bundle install --path "${HOME}/bundles/${JOB_NAME}"
export GOVUK_APP_DOMAIN=dev.gov.uk
bundle exec rake test
bundle exec rake publish_gem

#!/bin/bash -x
set -e
bundle install --path "${HOME}/bundles/${JOB_NAME}"
export GOVUK_APP_DOMAIN=dev.gov.uk
bundle exec rake test
bundle exec rake publish_gem --trace

Enable the --trace option for publish_gem.
Enable the --trace option for publish_gem.

This should help shed some light on the publishing failures.
