From ec3a3cc9e13690b2f9699621a7fe237a166412ed Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Thu, 19 Oct 2023 18:05:41 +0200 Subject: [PATCH] Remove deprecated `build` command (#2602) --- cli/pipeline/pipeline.go | 7 +++---- docs/docs/91-migrations.md | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/pipeline/pipeline.go b/cli/pipeline/pipeline.go index 358fdf1ee..0382241e6 100644 --- a/cli/pipeline/pipeline.go +++ b/cli/pipeline/pipeline.go @@ -22,10 +22,9 @@ import ( // Command exports the pipeline command set. var Command = &cli.Command{ - Name: "pipeline", - Aliases: []string{"build"}, - Usage: "manage pipelines", - Flags: common.GlobalFlags, + Name: "pipeline", + Usage: "manage pipelines", + Flags: common.GlobalFlags, Subcommands: []*cli.Command{ pipelineListCmd, pipelineLastCmd, diff --git a/docs/docs/91-migrations.md b/docs/docs/91-migrations.md index d3bce3e96..f7334eec3 100644 --- a/docs/docs/91-migrations.md +++ b/docs/docs/91-migrations.md @@ -8,6 +8,7 @@ Some versions need some changes to the server configuration or the pipeline conf - Dropped deprecated `pipeline:` keyword in favor of `steps:` in pipeline config - Dropped deprecated `branches:` filter in favor of global [`when.branch`](./20-usage/20-workflow-syntax.md#branch-1) filter - Deprecated `platform:` filter in favor of `labels:`, [read more](./20-usage/20-workflow-syntax.md#filter-by-platform) +- Removed `build` alias for `pipeline` command in CLI ## 1.0.0