The key bits of my build plan look like this:
pkg_version() {
git tag --sort="version:refname" | tail --lines=1 | cut --delimiter=v --fields=2
}
pkg_source="https://github.com/circonus-labs/${pkg_name}/releases/download/v${pkg_version}/${pkg_name}_${pkg_version}_linux_64-bit.tar.gz"
pkg_build_deps=(core/git)
do_before() {
update_pkg_version
return $?
}
But I see this in my build logs:
circonus-agent: Version updated to '0.13.0'
circonus-agent: Downloading 'https://github.com/circonus-labs/circonus-agent/releases/download/v/circonus-agent__linux_64-bit.tar.gz' to 'circonus-agent__linux_64-bit.tar.gz'