Skip to content

Commit

Permalink
Add dynamic UUID generation
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <travis.collins@analog.com>
  • Loading branch information
tfcollins committed Feb 5, 2021
1 parent 93f28e5 commit 3644db9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CI/scripts/bsp.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Support: https://ez.analog.com/</param.description>
<item>9.0</item>
</param.products.version>
<param.platforms />
<param.guid>40075943-d2d1-4d90-8e59-b3eff5f58180</param.guid>
<param.guid>__UUID__</param.guid>
<param.exclude.filters>%
CI/*
slprj/*
Expand Down
3 changes: 2 additions & 1 deletion CI/scripts/genTlbx.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function genTlbx(examples)
version = '20.1.1';
ml = ver('MATLAB');
ml = ml.Release(2:end-1);

uuid = matlab.lang.internal.uuid;

%%
cd(fileparts((mfilename('fullpath'))));
Expand All @@ -26,6 +26,7 @@ function genTlbx(examples)
f = strrep(f,'__REPO-ROOT__',p);
f = strrep(f,'__VERSION__',version);
f = strrep(f,'__ML-RELEASE__',ml);
f = strrep(f,'__UUID__',uuid);

fid = fopen('../../bsp.prj','w');
fprintf(fid,'%s',f);
Expand Down

0 comments on commit 3644db9

Please sign in to comment.