File tree 2 files changed +4
-2
lines changed 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 46
46
desc "Publish a new version"
47
47
task :publish => :build do
48
48
tags = `git tag` . split
49
- system ( "git tag #{ BootstrapWysihtml5Rails ::Rails ::VERSION } " ) unless tags . include? ( BootstrapWysihtml5Rails ::Rails ::VERSION )
50
- system ( "gem push bootstrap-wysihtml5-rails-#{ BootstrapWysihtml5Rails ::Rails ::VERSION } .gem" )
49
+ version = BootstrapWysihtml5Rails ::Rails ::VERSION
50
+ system ( "git tag -a #{ version } -m 'Release #{ version } ' " ) unless tags . include? ( version )
51
+ system ( "gem push bootstrap-wysihtml5-rails-#{ version } .gem" )
51
52
system ( "git push --follow-tags" )
52
53
end
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Gem::Specification.new do |gem|
7
7
gem . description = %q{A wysiwyg text editor for Twitter Bootstrap}
8
8
gem . homepage = "https://github.com/Nerian/bootstrap-wysihtml5-rails"
9
9
gem . summary = gem . description
10
+ gem . license = 'MIT'
10
11
11
12
gem . name = "bootstrap-wysihtml5-rails"
12
13
gem . require_paths = [ "lib" ]
You can’t perform that action at this time.
0 commit comments