gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
16.98k stars 1.71k forks source link

2.2.7 build failure due to version not being bumped #1229

Closed ilovezfs closed 6 years ago

ilovezfs commented 6 years ago

Build log: https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/7534/version=sierra/testReport/junit/brew-test-bot/sierra/install_teleport/

Getting the failure

cp -rf build teleport
tar -czf teleport-v2.2.6-`go env GOOS`-`go env GOARCH`-bin.tar.gz teleport
rm -rf teleport

CREATED: teleport-v2.2.6-darwin-amd64-bin.tar.gz
==> /usr/bin/tar -xvf teleport-v2.2.7-darwin-amd64-bin.tar.gz
tar: Error opening archive: Failed to open 'teleport-v2.2.7-darwin-amd64-bin.tar.gz'

So it seems the version number for the tarball file name was not bumped.

russjones commented 6 years ago

@ilovezfs We've release Teleport 2.2.7 binaries, this should work now.

ilovezfs commented 6 years ago

@russjones in Homebrew, we require that formulae build from source, so this is still broken due to https://github.com/gravitational/teleport/blob/v2.2.7/Makefile#L5. I guess I will use a string replacement to fix it. Hopefully the version can actually be set correctly in the next stable release tag.