You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: publishToolbox.m
    path of file: ./repos/Live-Script-to-Markdown-Converter/dev
    
    the code of the file until where you have to start completion: function publishToolbox(v)
% Create release and publish toolbox
arguments
    v (1,:) char = '' % Release version
end
proj = currentProject();

    
function publishToolbox(v)
% Create release and publish toolbox
arguments
    v (1,:) char = '' % Release version
end
proj = currentProject();
cd(proj.RootFolder);
% Gnerate documentation
genDoc();
% Set version
tbxProj = fullfile(proj.RootFolder, 'main/LiveScriptToMarkdownConverterToolbox.prj');
if isempty(v)
    vCurrent = matlab.addons.toolbox.toolboxVersion(tbxProj);
    v = input(sprintf('<strong>Enter release version (%s): </strong>', vCurrent), 's');
    if isempty(v)
        v = vCurrent;
    end