Method: Tetra::Project#archive_kit

Defined in:
lib/tetra/project.rb

#archive_kitObject

archives a tarball of kit/ in packages/ the latest commit marked as dry-run-finished is taken as the version



177
178
179
180
181
182
183
# File 'lib/tetra/project.rb', line 177

def archive_kit
  from_directory do
    id = @git.latest_id("tetra: dry-run-finished")
    destination_path = File.join(full_path, packages_dir, "#{name}-kit", "#{name}-kit.tar.xz")
    @git.archive("kit", id, destination_path)
  end
end