Sha256: 615d66afa7770143cfcd92516523fb0ab9d44bff842c364135afe7756f54638c
Contents?: true
Size: 701 Bytes
Versions: 22
Compression:
Stored size: 701 Bytes
Contents
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
Version data entries
22 entries across 22 versions & 1 rubygems