From 97ad0ce4dd678045d4f339e43db7581c4c364546 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Thu, 23 Feb 2023 11:12:36 -0500 Subject: [PATCH] cmd/release: delete Delete the empty command after some time passes. Updates golang/go#40279. Change-Id: I4064e4ba329d9a3637459816420603813652ebe2 Reviewed-on: https://go-review.googlesource.com/c/build/+/470756 Run-TryBot: Dmitri Shuralyov Reviewed-by: Carlos Amedee Auto-Submit: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov TryBot-Result: Gopher Robot --- cmd/release/README.md | 7 ------- cmd/release/release.go | 26 -------------------------- 2 files changed, 33 deletions(-) delete mode 100644 cmd/release/README.md delete mode 100644 cmd/release/release.go diff --git a/cmd/release/README.md b/cmd/release/README.md deleted file mode 100644 index 0b44b8d984..0000000000 --- a/cmd/release/README.md +++ /dev/null @@ -1,7 +0,0 @@ - - -[![Go Reference](https://pkg.go.dev/badge/golang.org/x/build/cmd/release.svg)](https://pkg.go.dev/golang.org/x/build/cmd/release) - -# golang.org/x/build/cmd/release - -Command release was used to build Go releases before relui fully replaced its functionality. diff --git a/cmd/release/release.go b/cmd/release/release.go deleted file mode 100644 index 1983d292e0..0000000000 --- a/cmd/release/release.go +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2015 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Command release was used to build Go releases before relui fully replaced its functionality. -// -// Deprecated: Use relui instead. -package main - -import ( - "flag" - "fmt" - "os" -) - -func main() { - flag.Usage = func() { - fmt.Fprintln(os.Stderr, "Command golang.org/x/build/cmd/release is deprecated.") - fmt.Fprintln(os.Stderr, "Use golang.org/x/build/cmd/relui instead.") - flag.PrintDefaults() - } - flag.Parse() - - flag.Usage() - os.Exit(1) -}