From 330dd3fe930fa9ad4744163121eda537a1a6e9a4 2020-05-29 19:46:55 From: Matthias Bussonnier Date: 2020-05-29 19:46:55 Subject: [PATCH] Add instruction to list the API changes. this uses frappuccino which is still in developpement. --- diff --git a/tools/release_helper.sh b/tools/release_helper.sh index 7489c16..6295946 100644 --- a/tools/release_helper.sh +++ b/tools/release_helper.sh @@ -81,6 +81,21 @@ then fi +if ask_section "Generate API difference (using frapuccino)" +then + echo $BLUE"Checking out $PREV_RELEASE"$NOR + git checkout $PREV_RELEASE + echo $BLUE"Saving API to file $PREV_RELEASE"$NOR + frappuccino IPython --save IPython-$PREV_RELEASE.json + echo $BLUE"comming back to $BRANCH"$NOR + git checkout $BRANCH + echo $BLUE"comparing ..."$NOR + frappuccino IPython --compare IPython-$PREV_RELEASE.json + echo $GREEN"Use the above guideline to write an API changelog ..."$NOR + echo $GREEN"Press any keys to continue"$NOR + read +fi + echo "Cleaning repository" git clean -xfdi