From 0b45cce1abcf8868f4d957317a839f1e80058607 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 4 Aug 2020 12:44:34 +0200 Subject: [PATCH] plugins: don't require "experimental" for buildx Some features of buildx may still be "experimental" / non-final, but we can call those out individually if needed. This change removes the requirement to enable "experimental" mode in the cli configuration file, so that it's easier for users to try buildx. Signed-off-by: Sebastiaan van Stijn --- plugins/buildx.installer | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/buildx.installer b/plugins/buildx.installer index aad63ece96..7cf5161316 100755 --- a/plugins/buildx.installer +++ b/plugins/buildx.installer @@ -18,8 +18,7 @@ build() { git fetch --all git checkout -q "${BUILDX_COMMIT}" local LDFLAGS - # TODO: unmark `-tp` when no longer a technical preview - LDFLAGS="-X ${PKG}/version.Version=$(git describe --match 'v[0-9]*' --always --tags)-tp-docker -X ${PKG}/version.Revision=$(git rev-parse HEAD) -X ${PKG}/version.Package=${PKG} -X main.experimental=1" + LDFLAGS="-X ${PKG}/version.Version=$(git describe --match 'v[0-9]*' --always --tags)-docker -X ${PKG}/version.Revision=$(git rev-parse HEAD) -X ${PKG}/version.Package=${PKG}" set -x GOFLAGS=-mod=vendor go build -o bin/docker-buildx -ldflags "${LDFLAGS}" ./cmd/buildx )