diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-08-26 09:32:28 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-08-26 09:32:28 +0000 |
commit | cbc67d2a28329caa3865eefc8d016ff86ef9f1e3 (patch) | |
tree | 415281ee84676b0a65b4c11eaa6ae05bc1beb758 /GIT-VERSION-GEN | |
parent | 545ebfb7e2cc5aecc072d3d8ffd73cd245b93d9b (diff) | |
download | dtas-cbc67d2a28329caa3865eefc8d016ff86ef9f1e3.tar.gz |
This is not part of any public API.
Diffstat (limited to 'GIT-VERSION-GEN')
-rwxr-xr-x | GIT-VERSION-GEN | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index 140828f..99c53c8 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -22,9 +22,9 @@ if File.exist?(".git") end vn = vn.sub!(/\Av/, "") -new_ruby_version = "#{CONSTANT} = '#{vn}'\n" +new_ruby_version = "#{CONSTANT} = '#{vn}' # :nodoc:\n" cur_ruby_version = File.read(RVF) rescue nil if new_ruby_version != cur_ruby_version - File.open(RVF, "w") { |fp| fp.write("# :enddoc:\n#{new_ruby_version}") } + File.open(RVF, "w") { |fp| fp.write(new_ruby_version) } end puts vn if $0 == __FILE__ |