Migrate away from pivotal-legacy/homebrew-tap

Update formula to use spring-boot rather than springboot. This will
allow both taps to be used at the same time.

See gh-24659
This commit is contained in:
Phillip Webb 2021-01-06 16:58:05 -08:00
parent 25033ee5e7
commit 46629ef5e4
2 changed files with 4 additions and 4 deletions

View File

@ -349,15 +349,15 @@
property="checksum" /> property="checksum" />
<echo <echo
message="Customizing homebrew for ${project.version} with checksum ${checksum} in ${repo} repo" /> message="Customizing homebrew for ${project.version} with checksum ${checksum} in ${repo} repo" />
<copy file="${basedir}/src/main/homebrew/springboot.rb" <copy file="${basedir}/src/main/homebrew/spring-boot.rb"
tofile="${project.build.directory}/homebrew/springboot.rb" tofile="${project.build.directory}/homebrew/spring-boot.rb"
overwrite="true"> overwrite="true">
<filterchain> <filterchain>
<expandproperties /> <expandproperties />
</filterchain> </filterchain>
</copy> </copy>
<attachartifact <attachartifact
file="${project.build.directory}/homebrew/springboot.rb" file="${project.build.directory}/homebrew/spring-boot.rb"
classifier="homebrew" type="rb" /> classifier="homebrew" type="rb" />
</target> </target>
</configuration> </configuration>

View File

@ -1,6 +1,6 @@
require 'formula' require 'formula'
class Springboot < Formula class SpringBoot < Formula
homepage 'https://spring.io/projects/spring-boot' homepage 'https://spring.io/projects/spring-boot'
url 'https://repo.spring.io/${repo}/org/springframework/boot/spring-boot-cli/${project.version}/spring-boot-cli-${project.version}-bin.tar.gz' url 'https://repo.spring.io/${repo}/org/springframework/boot/spring-boot-cli/${project.version}/spring-boot-cli-${project.version}-bin.tar.gz'
version '${project.version}' version '${project.version}'