Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 752 Bytes

README.md

File metadata and controls

31 lines (27 loc) · 752 Bytes

Readme file

function [ver] = semvar()
%SEMVAR Returns app version
% Application version based on Semantic Version scheme
% The `ver` variable should be updated for each tagged realease
% For beta/dev releases, this func returls git describe --tag  string

ver = '1.3.0';
[status, command_out] = system('git describe --tag');
if ~status
    ver = command_out;
end
end
function [ver] = semvar()
%SEMVAR Returns app version
% Application version based on Semantic Version scheme
% The `ver` variable should be updated for each tagged realease
% For beta/dev releases, this func returls git describe --tag  string

ver = '1.3.0';
[status, command_out] = system('git describe --tag');
if ~status
    ver = command_out;
end
end