Skip to content

Commit

Permalink
fix(scripts): clear commit summary between iterations in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
philbooth committed Apr 5, 2019
1 parent 9fbe795 commit 9534445
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions release.sh
Expand Up @@ -235,6 +235,13 @@ bump() {
mv "$1/CHANGELOG.md.release.bak" "$1/CHANGELOG.md"
fi

# Clear summaries before the next iteration
FEAT_SUMMARY=""
FIX_SUMMARY=""
PERF_SUMMARY=""
REFACTOR_SUMMARY=""
OTHER_SUMMARY=""

# 8.4. If package.json exists, uppdate the version string in package.json.
if [ -f "$1/package.json" ]; then
sed -i.release.bak -e "s/$SED_FRIENDLY_LAST_VERSION/$NEW_VERSION/g" "$1/package.json"
Expand Down

0 comments on commit 9534445

Please sign in to comment.