Skip to content

Commit

Permalink
Detect version.
Browse files Browse the repository at this point in the history
  • Loading branch information
marick committed Mar 8, 2013
1 parent cfd96a4 commit d3b6737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Expand Up @@ -5,7 +5,8 @@ require 'rake'

def jar_name
text = File.read('project.clj')
unless / midje\s+"(\d+\.\d+(-RC\d+)?)"/ =~ text ||
unless / midje\s+"(\d+\.\d+.\d+)"/ =~ text ||
/ midje\s+"(\d+\.\d+(-RC\d+)?)"/ =~ text ||
/ midje\s+"(\d+\.\d+(\.\d+)*-SNAPSHOT)"/ =~ text ||
/ midje\s+"(\d+\.\d-alpha\d+)"/ =~ text ||
/ midje\s+"(\d+\.\d-beta\d+)"/ =~ text
Expand Down

0 comments on commit d3b6737

Please sign in to comment.