Skip to content

Commit

Permalink
fixed #563
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-s committed Mar 20, 2021
1 parent ba74f7e commit 7ae783e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion +xolotl/version.m
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
function version()
disp('v21.3.18');
disp('v21.3.20');
7 changes: 6 additions & 1 deletion @xolotl/default.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@
% to speed up subsequent runs. This is useful in scripts that
% make figures, where the same simulation is expected to
% be run more than once
cache = false;
cache = false;



%% path to github CLI
gh_path = '/usr/local/bin/gh';
2 changes: 1 addition & 1 deletion @xolotl/upload.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function upload(self)

self.integrate;

[e,o] = system(['/usr/local/bin/gh release upload bin ' binary_loc ' --repo sg-s/xolotl']);
[e,o] = system([self.pref.gh_path ' release upload bin ' binary_loc ' --repo sg-s/xolotl']);

if any(strfind(o,'Successfully uploaded'))
disp(['Uploaded binary with hash: ' self.hash])
Expand Down

0 comments on commit 7ae783e

Please sign in to comment.