From c9c926e784c4669fcbebdbf22d9c6926830bdbda Mon Sep 17 00:00:00 2001 From: iker barriocanal <32816711+iker-barriocanal@users.noreply.github.com> Date: Wed, 7 Jul 2021 13:02:32 +0200 Subject: [PATCH 1/2] Remove unnecessary `echo`s --- scripts/bump-version.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/bump-version.sh b/scripts/bump-version.sh index e230d7487e1..962d9296274 100755 --- a/scripts/bump-version.sh +++ b/scripts/bump-version.sh @@ -7,9 +7,6 @@ cd $SCRIPT_DIR/.. OLD_VERSION="$1" NEW_VERSION="$2" -echo $OLD_VERSION -echo $NEW_VERSION - GRADLE_FILEPATH="gradle.properties" # Replace `versionName` with the given version From 786f8bb634f3fce44a567a43dc08442812935cb1 Mon Sep 17 00:00:00 2001 From: iker barriocanal <32816711+iker-barriocanal@users.noreply.github.com> Date: Wed, 7 Jul 2021 13:02:59 +0200 Subject: [PATCH 2/2] Add missing `GRADLE_FILEPATH` var --- scripts/post-release.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/post-release.sh b/scripts/post-release.sh index df8feb94123..66e95d20d12 100755 --- a/scripts/post-release.sh +++ b/scripts/post-release.sh @@ -7,6 +7,8 @@ cd $SCRIPT_DIR/.. OLD_VERSION="${1}" NEW_VERSION="${2}" +GRADLE_FILEPATH="gradle.properties" + # Add a new unreleased entry in the changelog sed -i "" 's/# Changelog/# Changelog\n\n## Unreleased/' CHANGELOG.md