Sha256: 2786a7f0bc85c1e7f406779e7999b6be8c1e13e0c721f68c1494a075d9a05a62
Contents?: true
Size: 520 Bytes
Versions: 6
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true require 'travis/cli/setup' module Travis module CLI class Setup class NPM < Service description 'automatic release to npm' def run deploy 'npm', 'release' do |config| config['email'] ||= ask('npm email address: ') { |q| q }.to_s config['api_key'] ||= ask('npm api key: ') { |q| q.echo = '*' }.to_s on('release only tagged commits? ', config, 'tags' => true) end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems