Skip to content

Commit

Permalink
training.sh: Do not send bin and config; Better commit msg
Browse files Browse the repository at this point in the history
  • Loading branch information
adriendupuis committed May 27, 2020
1 parent cf22bdb commit 348b5b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions training.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,11 @@ for step in $step_list; do
for state in $state_list; do
echo "Prepare step $step $state";
git checkout $local_reference_branch -- $path_list;
eval "$exercise_cleaner $step --$state $path_list";

This comment has been minimized.

Copy link
@adriendupuis

adriendupuis May 28, 2020

Author Owner

So, this is not displayed anymore.

This comment has been minimized.

Copy link
@adriendupuis

adriendupuis May 28, 2020

Author Owner

Back in 70e9569 but without color

This comment has been minimized.

Copy link
@adriendupuis

adriendupuis May 28, 2020

Author Owner

Problem solved with option --step-name added in 7e4924a...dfb277e and used in 71ea50b

git reset $exercise_cleaner_bin $exercise_cleaner_config;
step_desc=`eval "$exercise_cleaner $step --$state $path_list" | sed -e "s/Get step \(.*\)…/\1/"`;
git add $path_list;
if [[ -n "$(git status --short;)" ]]; then
git commit --quiet --message "Step $step $state";
git commit --quiet --message "Step $step_desc";
echo "Step $step $state ready: Press 'enter' key to push it to training's remote repository…";
read -r -n 0;
echo "Push step $step $state…\n";
Expand Down

0 comments on commit 348b5b3

Please sign in to comment.