OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
380 B

GOVERSION=$( go version | grep -o 'go1\.[0-9]')
UNSUPPORTED=( "go1.0" "go1.1" "go1.2" "go1.3" "go1.4" )
for V in "${UNSUPPORTED[@]}"; do
if [ "$V" = "$GOVERSION" ]; then
echo "dex requires go version 1.5+. Please update your go version."
exit 2
fi
done
export GO15VENDOREXPERIMENT=1
export VERSION=$(./git-version)
LD_FLAGS="-X main.version=${VERSION}"