cri-o/vendor/github.com/containers/storage/hack/make/.go-autogen
Mrunal Patel 8e5b17cf13 Switch to github.com/golang/dep for vendoring
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-01-31 16:45:59 -08:00

20 lines
520 B
Bash

#!/bin/bash
cat > storageversion/version_autogen.go <<EOF
// +build containersstorageautogen
// Package version is auto-generated at build-time
package storageversion
// Default build-time variable for library-import.
// This file is overridden on build with build-time informations.
const (
GitCommit string = "$GITCOMMIT"
Version string = "$VERSION"
BuildTime string = "$BUILDTIME"
IAmStatic string = "${IAMSTATIC:-false}"
)
// AUTOGENERATED FILE; see $BASH_SOURCE
EOF
BUILDTAGS+=" containersstorageautogen"