Method: DYAutomate::DYAutomateConfig#check_git_version
- Defined in:
- lib/DYAutomate/CustomConfig/DYAutomateConfig.rb
#check_git_version ⇒ Object
117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/DYAutomate/CustomConfig/DYAutomateConfig.rb', line 117 def check_git_version versionFile = File.join(@@configGitClonePath,"version") isSame = false if File.exist?(versionFile) versionContent = File.open(versionFile, 'r:utf-8', &:read) if versionContent isSame = versionContent.chomp.eql?(@detail_git_tag.chomp) end end isSame end |