cri-o/vendor/github.com/containers/storage/hack/make/.go-autogen

21 lines
520 B
Text
Raw Normal View History

#!/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"