Files
fn-serverless/vendor/github.com/heroku/docker-registry-client/bin/go-version-sync-check.sh
2017-06-11 02:05:36 -07:00

6 lines
228 B
Bash
Executable File

#!/bin/bash
travis=$(cat .travis.yml | grep '^go:' | sed 's/^go: \([0-9]*\.[0-9]*\)\(\.[0-9]*\)\{0,1\}$/\1/')
godep=$(cat Godeps/Godeps.json | grep 'GoVersion' | sed 's/.*"go\(.*\)".*$/\1/')
diff <(echo $travis) <(echo $godep)