Skip to content

Commit

Permalink
add a version.log and release v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoupc committed Oct 10, 2018
1 parent acdd20b commit cc70883
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
18 changes: 18 additions & 0 deletions scripts/cnmfe_version.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
%% get the current version of CNMF-E
version_file = fullfile(cnmfe_folder, 'versions.log');

tmp_f = fopen(version_file, 'r');

version_line = fgetl(tmp_f);
commit_line = fgetl(tmp_f);

disp(version_line);

%% in case you are using git to manage your CNMF-E pacage
try
[s,git_hash_string] = system('git rev-parse HEAD');
commit_line = sprintf('git commit: %s', git_hash_string);
disp(commit_line);
catch
disp(commit_line);
end
12 changes: 12 additions & 0 deletions versions.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 1.1.0
git commit: acdd20b5cecbc8be85f7684aa8e11176d10a3aa2

10/09/2018
Version 1.1.0
git commit: acdd20b5cecbc8be85f7684aa8e11176d10a3aa2
Note: all updates since the first releast.

01/15/2018
Version 1.0.0
git commit: 088afc143f84d384c38c50e7c3cda6f040e5f57a
Note: The first version released in support of our eLife paper. https://cdn.elifesciences.org/articles/28728/elife-28728-v1.pdf

0 comments on commit cc70883

Please # to comment.