Commit f500e48e authored by Phillip Webb's avatar Phillip Webb

Fix version replacement in homebrew generation

parent d0f3e33f
......@@ -2,13 +2,13 @@ require 'formula'
class Springboot < Formula
homepage 'http://projects.spring.io/spring-boot/'
url 'https://repo.spring.io/${repo}/org/springframework/boot/spring-boot-cli/${version}/spring-boot-cli-${version}-bin.tar.gz'
version '${version}'
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}'
def install
bin.install 'bin/spring'
lib.install 'lib/spring-boot-cli-${version}.jar'
lib.install 'lib/spring-boot-cli-${project.version}.jar'
bash_completion.install 'shell-completion/bash/spring'
zsh_completion.install 'shell-completion/zsh/_spring'
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment