Attempt to fix homebrew tap repo update

See gh-24677
This commit is contained in:
Phillip Webb
2021-01-14 20:48:38 -08:00
parent dc76aa312e
commit a790a9079d
3 changed files with 7 additions and 8 deletions

View File

@@ -3,10 +3,10 @@ set -e
version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' )
git clone git-repo updated-repo > /dev/null
git clone homebrew-tap-repo updated-homebrew-tap-repo > /dev/null
if [[ $LATEST_GA = true ]]; then
pushd updated-repo > /dev/null
pushd updated-homebrew-tap-repo > /dev/null
cd homebrew-tap
wget https://repo.spring.io/libs-release-local/org/springframework/boot/spring-boot-cli/${version}/spring-boot-cli-${version}-homebrew.rb
rm spring-boot.rb
@@ -17,4 +17,4 @@ pushd updated-repo > /dev/null
git commit -m "Upgrade to Spring Boot ${version}" > /dev/null
echo "DONE"
popd > /dev/null
fi
fi