lib/apps/git.rb in dev-2.0.214 vs lib/apps/git.rb in dev-2.0.215
- old
+ new
@@ -113,14 +113,16 @@
end
end
def self.latest_tag directory=''
if directory.length==0
- `git describe --abbrev=0 --tags`.strip
+ Command.output('git describe --abbrev=0 --tags').strip
+ #`git describe --abbrev=0 --tags`.strip
else
result=''
Dir.chdir(directory) do
- result=`git describe --abbrev=0 --tags`.strip
+ result=Command.output('git describe --abbrev=0 --tags').strip
+ #result=`git describe --abbrev=0 --tags`.strip
end
result
end
end
end
\ No newline at end of file