tcravit_ruby_lib 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tcravit_ruby_lib/tasks/release_tasks.rake +13 -0
- data/lib/tcravit_ruby_lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9837c2b9ed5c530bf1dc442db931a30b3a7a990ea5458dbade97a92ace110147
|
4
|
+
data.tar.gz: 5e1b6c7801bc5b4e502cbf2c99cd8d36cdd943230f43698c6d39d494c71d5c76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd6051896a8272688e0856ff6125a9ed18678e41e6db1474132adc4b15ebde715fd33f304d951a81f59a552ee414b82f6cad50dd48617ecd5931aa2f64b60c27
|
7
|
+
data.tar.gz: e718c7ae9f448ac869fcff4b136f1d2bd154f42dd7a7a7bb380eb15bb7095a68e7da2cb5b6d694921573e91d6276315ef3b42e2db9f4399868464dba23964e64
|
@@ -35,3 +35,16 @@ namespace :release do
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
38
|
+
|
39
|
+
desc "Release a Gem, including updating the version number"
|
40
|
+
task :release_gem do
|
41
|
+
if (Dir[File.join(Rake.original_dir, "*.gemspec")].count == 0)
|
42
|
+
fail("Error: #{Rake.original_dir} does not contain a gemspec file")
|
43
|
+
end
|
44
|
+
begin
|
45
|
+
Rake::Task["release:prepare"].invoke
|
46
|
+
rescue
|
47
|
+
fail("Could not prepare release")
|
48
|
+
end
|
49
|
+
Rake::Task["release"].invoke
|
50
|
+
end
|