mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
949a21b55f
This also removes the now-defunct `*maintainer*.sh` scripts that don't work with the new TOML format, and moves a couple not-build-or-release-related scripts to `contrib/` instead. Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
18 lines
370 B
Bash
18 lines
370 B
Bash
#!/bin/bash
|
|
|
|
rm -rf autogen
|
|
|
|
mkdir -p autogen/dockerversion
|
|
cat > autogen/dockerversion/dockerversion.go <<EOF
|
|
// AUTOGENERATED FILE; see $BASH_SOURCE
|
|
package dockerversion
|
|
|
|
var (
|
|
GITCOMMIT string = "$GITCOMMIT"
|
|
VERSION string = "$VERSION"
|
|
|
|
IAMSTATIC string = "${IAMSTATIC:-true}"
|
|
INITSHA1 string = "$DOCKER_INITSHA1"
|
|
INITPATH string = "$DOCKER_INITPATH"
|
|
)
|
|
EOF
|