Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Add rake publishing task
Browse files Browse the repository at this point in the history
  • Loading branch information
Casey Kuhlman committed Jul 17, 2013
1 parent 7c9f05f commit 98587a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ end
# call with rake site:publish
desc "Publish New Version of Gem"
task :pushit do
break if `git status -s`.split("\n").include?(" M lib/legal_markdown/version.rb")
fail "Does not look like the Version file is updated!" unless `git status -s`.split("\n").include?(" M lib/legal_markdown/version.rb")
require Dir.pwd + "/lib/legal_markdown/version.rb"
tag = LegalMarkdown::VERSION
system "git checkout master"
Expand Down

0 comments on commit 98587a7

Please sign in to comment.