Method: Tetra::Project#commit_sources
- Defined in:
- lib/tetra/project.rb
#commit_sources(message, new_tarball) ⇒ Object
commits files in the src/ dir as a patch or tarball update
95 96 97 98 99 100 101 102 103 104 |
# File 'lib/tetra/project.rb', line 95 def commit_sources(, new_tarball) from_directory do comments = "#{}\n" if new_tarball comments << "\ntetra: sources-tarball" @git.disable_special_files("src") end @git.commit_directories(["src"], comments) end end |