You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ~strcmpi(repoName, [gitConf.remoteUserName '/'gitConf.remoteRepoName])
51
+
resetDevTools();
57
52
end
58
53
end
59
54
@@ -64,8 +59,10 @@ function contribute(repoName, printLevel, autoOption)
64
59
checkSystem(mfilename, repoName);
65
60
end
66
61
62
+
% perform a soft reset if interrupted
67
63
finishup = onCleanup(@() resetDevTools());
68
64
65
+
% determine the directory of the devTools
69
66
devToolsDir = fileparts(which(mfilename));
70
67
71
68
% change to the directory of the devTools
@@ -74,15 +71,18 @@ function contribute(repoName, printLevel, autoOption)
74
71
% update the devTools
75
72
updateDevTools();
76
73
74
+
% print the launcher
77
75
fprintf(gitConf.launcher);
78
76
77
+
% show the menu to select an option
79
78
ifautoOptionFlag
80
79
choice =autoOption;
81
80
else
82
81
choice = input('\n (You can abort any process using CTRL+C)\n\n [1] Start a new feature (branch).\n [2] Select an existing feature (branch) to work on.\n [3] Publish a feature (branch).\n [4] Delete a feature (branch).\n [5] Update the fork.\n\n -> Please select what you want to do (enter the number): ', 's');
0 commit comments