zotplus-rakehelper 0.0.121 → 0.0.122

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95072b753dca3bae6835d1ae24a7ea5d00b22481
4
- data.tar.gz: 45e420169d3cef2079178bf37448482c1f448ca2
3
+ metadata.gz: f9f2d86e1e5b55e44fd951fe1f8bdda1108087be
4
+ data.tar.gz: f451f0c2abcc6fd95f41b36d01494986319c4b3f
5
5
  SHA512:
6
- metadata.gz: 5abdfcbdd383d1d2ef297ee0ceb527bd0e0bf795472246309f9c81f4a8d737dfd8433ffd6f7f0b6a00489ba9299508f0c86b48549e626390680fab5ce48f469a
7
- data.tar.gz: 1f50f3b92f3b6d0ad9aa75d681dc244cafb2d65fb01b218fc7b1127125e557de577801a76aa2a2bf5667b7c5c8e91d7cb428cc4870621a4bbb3e4b3efaf5c796
6
+ metadata.gz: a50573aa51df43ab69cc136c95589f4d72eeb0ba2882e236e6b7af4fe30425362366a13950411b638cd8a0ab6f5eec8cbcca0e1bb198db167af5559206562826
7
+ data.tar.gz: c1ca65e02e44b338b4e79a69c21f622d3fbe20986ea15739de42a6669c81aed74aa81a435ad393ac5d0459c0cb754602d8c91fa1cda12bb29bb1dc7741cd1dc5
@@ -113,6 +113,8 @@ task :deploy => [XPI, GR] do
113
113
  sha1 = keys.detect{|key| key != ''}
114
114
  throw "No SHA1 found in #{keys.inspect}" unless sha1
115
115
 
116
+ xpi = File.exists?(SIGNED) ? SIGNED : XPI
117
+
116
118
  release = "#{sha1} release: #{XPI}"
117
119
  STDERR.puts "#{RELEASE}"
118
120
  STDERR.puts " checkin=#{checkin}"
@@ -121,7 +123,7 @@ task :deploy => [XPI, GR] do
121
123
  STDERR.puts "Deploying #{RELEASE} (#{sha1})"
122
124
 
123
125
  sh "#{GR} release --user ZotPlus --repo zotero-#{EXTENSION} --tag #{RELEASE} --name 'v#{RELEASE}'"
124
- sh "#{GR} upload --user ZotPlus --repo zotero-#{EXTENSION} --tag #{RELEASE} --name '#{XPI}' --file '#{XPI}'"
126
+ sh "#{GR} upload --user ZotPlus --repo zotero-#{EXTENSION} --tag #{RELEASE} --name '#{XPI}' --file '#{xpi}'"
125
127
 
126
128
  open("www/_includes/#{EXTENSION}-version.html", 'w'){|f| f.write(RELEASE) }
127
129
  Dir.chdir('www'){
@@ -1,5 +1,5 @@
1
1
  module ZotPlus
2
2
  class RakeHelper
3
- VERSION = "0.0.121"
3
+ VERSION = "0.0.122"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zotplus-rakehelper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.121
4
+ version: 0.0.122
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emiliano Heyns