Sha256: e7c84331143b4f3d12fce8b013004aed0fe51803669212338d54697c3377a916

Contents?: true

Size: 787 Bytes

Versions: 31

Compression:

Stored size: 787 Bytes

Contents

module Shipit
  class DeploySpec
    module PypiDiscovery
      def discover_deploy_steps
        discover_pypi || super
      end

      def discover_pypi
        publish_egg if egg?
      end

      def discover_review_checklist
        discover_pypi_checklist || super
      end

      def discover_pypi_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 egg?
      end

      def egg?
        setup_dot_py.exist?
      end

      def setup_dot_py
        file('setup.py')
      end

      def publish_egg
        ["assert-egg-version-tag #{setup_dot_py}", 'python setup.py register sdist upload']
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
shipit-engine-0.20.1 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.20.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.19.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.18.1 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.18.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.17.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.16.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.15.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.14.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.13.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.12.1 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.12.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.11.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.10.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.9.0 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.8.9 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.8.8 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.8.7 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.8.6 app/models/shipit/deploy_spec/pypi_discovery.rb
shipit-engine-0.8.5 app/models/shipit/deploy_spec/pypi_discovery.rb