photile 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +2 -4
- metadata +1 -1
data/Rakefile
CHANGED
@@ -14,10 +14,8 @@ end
|
|
14
14
|
|
15
15
|
desc "Deploy gem to Rubygems repo"
|
16
16
|
task :deploy do
|
17
|
-
|
18
|
-
|
19
|
-
system 'gem build photile.gemspec'
|
20
|
-
system 'gem push ' + gem_file_name + ' && rm *.gem'
|
17
|
+
version = `git describe`.chomp
|
18
|
+
system "gem build photile.gemspec && gem push photile-#{version}.gem && rm *.gem"
|
21
19
|
end
|
22
20
|
|
23
21
|
desc "Build docs"
|