Skip to content

Commit

Permalink
Use a SHA256 checksum in the Homebrew formula
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed May 6, 2016
1 parent 72c2454 commit d77d3ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spring-boot-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@
<stringutil string="${version-type}" property="repo">
<lowercase />
</stringutil>
<checksum algorithm="sha-1" file="${project.build.directory}/spring-boot-cli-${project.version}-bin.tar.gz" property="checksum" />
<checksum algorithm="sha-256" file="${project.build.directory}/spring-boot-cli-${project.version}-bin.tar.gz" property="checksum" />
<echo message="Customizing homebrew for ${project.version} with checksum ${checksum} in ${repo} repo" />
<copy file="${basedir}/src/main/homebrew/springboot.rb" tofile="${project.build.directory}/springboot.rb" overwrite="true">
<filterchain>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-cli/src/main/homebrew/springboot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Springboot < Formula
homepage 'http://projects.spring.io/spring-boot/'
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}'
sha1 '${checksum}'
sha256 '${checksum}'
head 'https://github.com/spring-projects/spring-boot.git'

if build.head?
Expand Down

0 comments on commit d77d3ff

Please sign in to comment.