zotplus-rakehelper 0.0.64 → 0.0.65
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/zotplus-rakehelper.rb +3 -1
- data/lib/zotplus-rakehelper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3597d4505e225dd46f8fa94527ecaf5bb0383460
|
4
|
+
data.tar.gz: bf2eb5a99bdbc21951e9d6b078f7ed0f3a8b198f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31b45fae4be8228f4cf9313bb2d0e49498e6d5ecaa769f0fe4b067ca8de988af2f28484b42713d6169bd1cdcdd15df7d7b91012756a17f86b89c28610078b17e
|
7
|
+
data.tar.gz: 186a760cb222d34208a7283f17daae88a2f2ee94d76f954439e07f4ca62edcefa32413882bd6733b7e7e07c6e7f14cbab203260c278d3e85047a234ffd081ae7
|
data/Gemfile.lock
CHANGED
data/lib/zotplus-rakehelper.rb
CHANGED
@@ -56,7 +56,7 @@ end
|
|
56
56
|
|
57
57
|
task :bump, :what do |t, args|
|
58
58
|
modified = `git ls-files -m`.split(/\n/).reject{|f| f == 'www'}
|
59
|
-
throw "Modified files not checked in" unless modified.length == 0
|
59
|
+
throw "Modified files not checked in:\n#{modified.join("\n")}" unless modified.length == 0
|
60
60
|
release = RELEASE.split('.').collect{|n| Integer(n)}
|
61
61
|
release = case (args[:what] || 'patch').intern
|
62
62
|
when :major then [release[0] + 1, 0, 0]
|
@@ -71,6 +71,8 @@ task :bump, :what do |t, args|
|
|
71
71
|
install_rdf.at('//em:updateURL').content = "https://zotplus.github.io/#{EXTENSION}/update.rdf"
|
72
72
|
File.open('install.rdf','w') {|f| install_rdf.write_xml_to f}
|
73
73
|
sh "git add install.rdf"
|
74
|
+
sh "git commit -m 'release #{release}'"
|
75
|
+
sh "git tag #{release}"
|
74
76
|
end
|
75
77
|
|
76
78
|
task :publish => [XPI, UPDATE_RDF] do
|