Sha256: 97ea858844b3adde695a7a7f31e184a03c523ead4ec6620d5d47fa971925e139
Contents?: true
Size: 732 Bytes
Versions: 25
Compression:
Stored size: 732 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 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
25 entries across 25 versions & 1 rubygems