lib/helpers/git.rb in overview-0.0.4.14 vs lib/helpers/git.rb in overview-0.0.4.17
- old
+ new
@@ -23,10 +23,10 @@
end
def self.commit_count
`git rev-list --count HEAD`.to_i
end
def self.commit_count_since_tag(tag)
- `git rev-list --count ${tag}.. 2>/dev/null`.to_i
+ `git rev-list --count #{tag}.. 2>/dev/null`.to_i
end
def self.installed?
system 'git --version >>/dev/null 2>&1'
end
def self.parse_deploy(commitMessage)