Sha256: 1c9b6676c4524fa79d296939c8c575d962fad2eb94f1818b7034e1f3fb0589c9
Contents?: true
Size: 771 Bytes
Versions: 6
Compression:
Stored size: 771 Bytes
Contents
module Shipit class DeploySpec module RubygemsDiscovery def discover_deploy_steps discover_gem || super end def discover_gem publish_gem if gem? end def discover_review_checklist discover_gem_checklist || super end def discover_gem_checklist [%(<strong>Don't forget to add a tag before deploying!</strong> You can do this with: git tag -a -m "Version <strong>x.y.z</strong>" v<strong>x.y.z</strong> && git push --tags)] if gem? end def gem? !!gemspec end def gemspec Dir[file('*.gemspec').to_s].first end def publish_gem ["assert-gem-version-tag #{gemspec}", 'bundle exec rake release'] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems