script/publish.sh in hedgelog-0.2.1.alpha.2 vs script/publish.sh in hedgelog-0.2.1.alpha.3
- old
+ new
@@ -105,10 +105,15 @@
confirm " Hedgelog gem version ${desired_version} has already been published. Is this expected? (y/n)" || finish "Exiting..."
else
# Publish the gem
echo "Starting ruby container to build and publish gem"
# MSYS_NO_PATHCONV=1 docker-compose ${COMPOSE_FILES} run --no-deps -v "${RUBYGEMS_CRED_VOLUME}" --entrypoint /bin/sh client-ruby -c "gem build stbaldricks.gemspec && gem push stbaldricks-${desired_version}.gem"
- gem build hedgelog.gemspec && gem push "hedgelog-${desired_version}.gem"
+ gem update --system
+ gem install bundler
+ bundle exec bundle-audit update && bundle exec bundle-audit check
+ bundle exec rspec
+ bundle exec rubocop lib spec
+ gem build hedgelog.gemspec # && gem push "hedgelog-${desired_version}.gem"
fi
echo
}
get_gem_version()