dpl 1.8.26.travis.1753.3 → 1.8.26.travis.1759.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dpl/provider/npm.rb +4 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6452ffc99e1cbdbeec242e7b5ca3bc748993bc2
4
- data.tar.gz: da4a488bdba81546c69af86363e010be90992b46
3
+ metadata.gz: 0413e93a5ba419b03fb7bdf6be3748608aa6ed70
4
+ data.tar.gz: 1144c888cdff709089f79c7c1c88e53f22bcf1a2
5
5
  SHA512:
6
- metadata.gz: ff6701be969b1392dc449e92a8aa877fccc040849bc1d09b47d834707bfe6fc16b11e03d85d992a2bd4853b1d06186d938df42443bff5c300e6127317d70bfdb
7
- data.tar.gz: 06c6f44f338315ce710b0cc4c302c2854781da5983e61a3cd83d7637b8ce130d3b76291fab7ce6ad69126cbe0ee5d95963ee12fa0687ce0a51a8fb02241ed95a
6
+ metadata.gz: 20edab328a9fa22a7b6706d5b235fba3d7fd79f772de3fbf64f0054c66150779dd35f0be61e0193ebc955b88f06d3d3b01ad2b8d54570dbd509d141087420ce8
7
+ data.tar.gz: c9bed1cb7a9db131af91b386e6ff7d028e317cdae35dd89c4d058034aed979099e823fca1320f4a1e1906f54861cfb5b8a15a8fafcfd4180b410510927eea8ba
@@ -29,7 +29,10 @@ module DPL
29
29
  log "NPM API key format changed recently. If your deployment fails, check your API key in ~/.npmrc."
30
30
  log "http://docs.travis-ci.com/user/deployment/npm/"
31
31
  log "#{NPMRC_FILE} size: #{File.size(File.expand_path(NPMRC_FILE))}"
32
- context.shell "env NPM_API_KEY=#{option(:api_key)} npm publish"
32
+
33
+ command = "env NPM_API_KEY=#{option(:api_key)} npm publish"
34
+ command << " --tag #{option(:tag)}" if options[:tag]
35
+ context.shell "#{command}"
33
36
  FileUtils.rm(File.expand_path(NPMRC_FILE))
34
37
  end
35
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.26.travis.1753.3
4
+ version: 1.8.26.travis.1759.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase