Skip to content

Commit 6eab835

Browse files
committed
chore: prepare for v3 GA
1 parent 8e066aa commit 6eab835

33 files changed

+89
-90
lines changed

.github/workflows/jenkins-x-release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
tags: |
8888
ghcr.io/jenkins-x/terraform-operator-gcp:latest
8989
ghcr.io/jenkins-x/terraform-operator-gcp:${{ steps.prep.outputs.version }}
90-
- name: Build and push jx-cli
90+
- name: Build and push jx
9191
uses: docker/build-push-action@v2
9292
with:
9393
context: .
@@ -97,8 +97,8 @@ jobs:
9797
build-args: |
9898
VERSION=${{ steps.prep.outputs.version }}
9999
tags: |
100-
ghcr.io/jenkins-x/jx-cli:latest
101-
ghcr.io/jenkins-x/jx-cli:${{ steps.prep.outputs.version }}
100+
ghcr.io/jenkins-x/jx:latest
101+
ghcr.io/jenkins-x/jx:${{ steps.prep.outputs.version }}
102102
release2:
103103
runs-on: ubuntu-latest
104104
needs: release
@@ -112,7 +112,7 @@ jobs:
112112
name: getrelease
113113
uses: pozetroninc/github-action-get-latest-release@master
114114
with:
115-
repository: jenkins-x/jx-cli
115+
repository: jenkins-x/jx
116116
- id: prep
117117
name: prep
118118
env:

.goreleaser.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ before:
66
- go mod download
77

88
builds:
9-
- id: jx-cli
9+
- id: jx
1010
# Path to main.go file or main package.
1111
# Default is `.`.
1212
main: ./cmd/main.go
@@ -38,15 +38,15 @@ builds:
3838
- arm64
3939

4040
archives:
41-
- name_template: "jx-cli-{{ .Os }}-{{ .Arch }}"
41+
- name_template: "jx-{{ .Os }}-{{ .Arch }}"
4242
format_overrides:
4343
- goos: windows
4444
format: zip
4545

4646
checksum:
4747
# You can change the name of the checksums file.
48-
# Default is `jx-cli_{{ .Version }}_checksums.txt`.
49-
name_template: "jx-cli-checksums.txt"
48+
# Default is `jx_{{ .Version }}_checksums.txt`.
49+
name_template: "jx-checksums.txt"
5050

5151
# Algorithm to be used.
5252
# Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384.

.jx/updatebot.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ spec:
66
- https://github.com/jenkins-x/jx3-pipeline-catalog
77
changes:
88
- regex:
9-
pattern: "jenkins-x/jx-cli:(.*)"
9+
pattern: "jenkins-x/jx:(.*)"
1010
files:
1111
- "**/*.yaml"
1212
- regex:
@@ -23,7 +23,7 @@ spec:
2323
files:
2424
- git/github.com/jenkins-x/jx3-pipeline-catalog.yml
2525
- regex:
26-
pattern: "\\s+image: ghcr.io/jenkins-x/jx-cli:(.*)"
26+
pattern: "\\s+image: ghcr.io/jenkins-x/jx:(.*)"
2727
files:
2828
- ".lighthouse/jenkins-x/release.yaml"
2929
- ".lighthouse/jenkins-x/pullrequest*.yaml"
@@ -39,14 +39,14 @@ spec:
3939
- regex:
4040
pattern: "version: (.*)"
4141
files:
42-
- "docker/ghcr.io/jenkins-x/jx-cli.yml"
43-
- "packages/jx-cli.yml"
42+
- "docker/ghcr.io/jenkins-x/jx.yml"
43+
- "packages/jx.yml"
4444
- regex:
4545
pattern: "terraformVersion: (.*)"
4646
files:
4747
- ".lighthouse/jenkins-x/bdd/*.yaml*"
4848
- regex:
49-
pattern: "JX_DEFAULT_IMAGE: ghcr.io/jenkins-x/jx-cli:(.*)"
49+
pattern: "JX_DEFAULT_IMAGE: ghcr.io/jenkins-x/jx:(.*)"
5050
files:
5151
- "apps/jenkins-x/lighthouse/values.yaml.gotmpl"
5252
- "charts/jenkins-x/lighthouse/values.yaml.gotmpl"

CONTRIBUTING.MD

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,38 +41,38 @@ $ GOOS=linux GOARCH=amd64 ./make.bash --no-clean
4141

4242
## Fork the Repository
4343

44-
Begin at GitHub by forking jx-cli, then clone your fork locally. Since jx-cli is a Go package, it
45-
should be located at `$GOPATH/src/github.com/jenkins-x/jx-cli`.
44+
Begin at GitHub by forking jx, then clone your fork locally. Since jx is a Go package, it
45+
should be located at `$GOPATH/src/github.com/jenkins-x/jx`.
4646

4747
```shell
4848
$ mkdir -p $GOPATH/src/github.com/jenkins-x
4949
$ cd $GOPATH/src/github.com/jenkins-x
50-
$ git clone [email protected]:<username>/jx-cli.git
51-
$ cd jx-cli
50+
$ git clone [email protected]:<username>/jx.git
51+
$ cd jx
5252
```
5353

54-
Add the conventional [upstream][] `git` remote in order to fetch changes from jx-cli's main master
54+
Add the conventional [upstream][] `git` remote in order to fetch changes from jx's main master
5555
branch and to create pull requests:
5656

5757
```shell
58-
$ git remote add upstream https://github.com/jenkins-x/jx-cli.git
58+
$ git remote add upstream https://github.com/jenkins-x/jx.git
5959
```
6060

6161
## Build Your Changes
6262

63-
With the prerequisites installed and your fork of jx-cli cloned, you can make changes to local jx-cli
63+
With the prerequisites installed and your fork of jx cloned, you can make changes to local jx
6464
source code.
6565

66-
Run `make` to build the `jx-cli` binaries:
66+
Run `make` to build the `jx` binaries:
6767

6868
```shell
6969

70-
$ make build # runs dep and builds `jx-cli` inside the build/
70+
$ make build # runs dep and builds `jx` inside the build/
7171
```
7272

7373
## Testing
7474

75-
The jx-cli test suite is divided into three sections:
75+
The jx test suite is divided into three sections:
7676
- The standard unit test suite
7777
- Slow unit tests
7878
- Integration tests

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV JX3_HOME /home/.jx3
99

1010
RUN echo using jx version ${VERSION} and OS ${TARGETOS} arch ${TARGETARCH} && \
1111
mkdir -p /home/.jx3 && \
12-
curl -L https://github.com/jenkins-x/jx-cli/releases/download/v${VERSION}/jx-cli-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
12+
curl -L https://github.com/jenkins-x/jx/releases/download/v${VERSION}/jx-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
1313
mv jx /usr/bin
1414

1515
RUN jx upgrade plugins --mandatory

Dockerfile-boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN echo using yq version ${YQ_VERSION} and OS ${TARGETOS} arch ${TARGETARCH} &&
2727

2828
RUN echo using jx version ${VERSION} and OS ${TARGETOS} arch ${TARGETARCH} && \
2929
mkdir -p /home/.jx3 && \
30-
curl -L https://github.com/jenkins-x/jx-cli/releases/download/v${VERSION}/jx-cli-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
30+
curl -L https://github.com/jenkins-x/jx/releases/download/v${VERSION}/jx-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
3131
mv jx /usr/bin
3232

3333
RUN jx upgrade plugins --boot --path /usr/bin

Dockerfile-go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV JX3_HOME /home/.jx3
99

1010
RUN echo using jx version ${VERSION} and OS ${TARGETOS} arch ${TARGETARCH} && \
1111
mkdir -p /home/.jx3 && \
12-
curl -L https://github.com/jenkins-x/jx-cli/releases/download/v${VERSION}/jx-cli-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
12+
curl -L https://github.com/jenkins-x/jx/releases/download/v${VERSION}/jx-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
1313
mv jx /usr/bin
1414

1515
RUN jx upgrade plugins --mandatory

Dockerfile-go-maven

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV JX3_HOME /home/.jx3
99

1010
RUN echo using jx version ${VERSION} and OS ${TARGETOS} arch ${TARGETARCH} && \
1111
mkdir -p /home/.jx3 && \
12-
curl -L https://github.com/jenkins-x/jx-cli/releases/download/v${VERSION}/jx-cli-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
12+
curl -L https://github.com/jenkins-x/jx/releases/download/v${VERSION}/jx-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
1313
mv jx /usr/bin
1414

1515
RUN jx upgrade plugins --mandatory

Dockerfile-tfo-aws

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN echo using yq version ${YQ_VERSION} and OS ${TARGETOS} arch ${TARGETARCH} &&
2929
# jx
3030
RUN echo using jx version ${VERSION} and OS ${TARGETOS} arch ${TARGETARCH} && \
3131
mkdir -p /home/.jx3 && \
32-
curl -L https://github.com/jenkins-x/jx-cli/releases/download/v${VERSION}/jx-cli-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
32+
curl -L https://github.com/jenkins-x/jx/releases/download/v${VERSION}/jx-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
3333
mv jx /usr/bin
3434

3535
# lets install the boot plugins
@@ -42,4 +42,4 @@ COPY run.sh /run.sh
4242
ENTRYPOINT ["/bin/bash"]
4343
CMD ["/run.sh"]
4444

45-
LABEL org.opencontainers.image.source https://github.com/jenkins-x/jx-cli
45+
LABEL org.opencontainers.image.source https://github.com/jenkins-x/jx

Dockerfile-tfo-gcp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN echo using yq version ${YQ_VERSION} and OS ${TARGETOS} arch ${TARGETARCH} &&
2525
# jx
2626
RUN echo using jx version ${VERSION} and OS ${TARGETOS} arch ${TARGETARCH} && \
2727
mkdir -p /home/.jx3 && \
28-
curl -L https://github.com/jenkins-x/jx-cli/releases/download/v${VERSION}/jx-cli-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
28+
curl -L https://github.com/jenkins-x/jx/releases/download/v${VERSION}/jx-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
2929
mv jx /usr/bin
3030

3131
# lets install the boot plugins
@@ -39,4 +39,4 @@ ENTRYPOINT ["/bin/bash"]
3939
CMD ["run.sh"]
4040

4141

42-
LABEL org.opencontainers.image.source https://github.com/jenkins-x/jx-cli
42+
LABEL org.opencontainers.image.source https://github.com/jenkins-x/jx

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
rwildcard=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2))
33

44
SHELL := /bin/bash
5-
NAME := jx-cli
5+
NAME := jx
66
BINARY_NAME := jx
77
BUILD_TARGET = build
88
MAIN_SRC_FILE=cmd/main.go
@@ -80,7 +80,7 @@ get-test-deps: ## Install test dependencies
8080
print-version: ## Print version
8181
@echo $(VERSION)
8282

83-
build: $(GO_DEPENDENCIES) clean ## Build jx-cli binary for current OS
83+
build: $(GO_DEPENDENCIES) clean ## Build jx binary for current OS
8484
go mod download
8585
CGO_ENABLED=$(CGO_ENABLED) $(GO) $(BUILD_TARGET) $(BUILDFLAGS) -o build/$(BINARY_NAME) $(MAIN_SRC_FILE)
8686

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# Jenkins X CLI for Version 3.x
22

3-
[![Documentation](https://godoc.org/github.com/jenkins-x/jx-cli?status.svg)](https://pkg.go.dev/mod/github.com/jenkins-x/jx-cli)
4-
[![Go Report Card](https://goreportcard.com/badge/github.com/jenkins-x/jx-cli)](https://goreportcard.com/report/github.com/jenkins-x/jx-cli)
5-
[![Releases](https://img.shields.io/github/release-pre/jenkins-x/jx-cli.svg)](https://github.com/jenkins-x/jx-cli/releases)
6-
[![LICENSE](https://img.shields.io/github/license/jenkins-x/jx-cli.svg)](https://github.com/jenkins-x/jx-cli/blob/master/LICENSE)
3+
[![Documentation](https://godoc.org/github.com/jenkins-x/jx?status.svg)](https://pkg.go.dev/mod/github.com/jenkins-x/jx)
4+
[![Go Report Card](https://goreportcard.com/badge/github.com/jenkins-x/jx)](https://goreportcard.com/report/github.com/jenkins-x/jx)
5+
[![Releases](https://img.shields.io/github/release-pre/jenkins-x/jx.svg)](https://github.com/jenkins-x/jx/releases)
6+
[![LICENSE](https://img.shields.io/github/license/jenkins-x/jx.svg)](https://github.com/jenkins-x/jx/blob/master/LICENSE)
77
[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://slack.k8s.io/)
88

9-
`jx-cli` is the modular command line CLI for [Jenkins X 3.x](https://jenkins-x.io/v3/about/)
9+
`jx` is the modular command line CLI for [Jenkins X 3.x](https://jenkins-x.io/v3/about/)
1010

1111

1212
## Commands
1313

14-
See the [jx command reference](https://github.com/jenkins-x/jx-cli/blob/master/docs/cmd/jx.md)
14+
See the [jx command reference](https://github.com/jenkins-x/jx/blob/master/docs/cmd/jx.md)
1515

1616
## Issues
1717

18-
To track [issues in this repository](https://github.com/jenkins-x/jx-cli/issues) and all the related [Plugins](#plugins) use this link:
18+
To track [issues in this repository](https://github.com/jenkins-x/jx/issues) and all the related [Plugins](#plugins) use this link:
1919

20-
* [view open issues in jx-cli and its plugins](https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Ajenkins-x%2Fjx-cli+repo%3Ajenkins-x%2Fjx-admin+repo%3Ajenkins-x%2Fjx-application+repo%3Ajenkins-x%2Fjx-apps+repo%3Ajenkins-x%2Fjx-helpers+repo%3Ajenkins-x%2Fjx-git-operator+repo%3Ajenkins-x%2Fjx-gitops+repo%3Ajenkins-x%2Fjx-pipeline+repo%3Ajenkins-x%2Fjx-project+repo%3Ajenkins-x%2Fjx-promote+repo%3Ajenkins-x%2Fjx-secret+repo%3Ajenkins-x%2Fjx-verify+repo%3Ajenkins-x%2F%2Fjx-secret+repo%3Ajenkins-x%2Foctant-jx+)
21-
* [view open pull requests in jx-cli and its plugins](https://github.com/pulls?q=is%3Aopen+is%3Apr+-label%3Adependencies+repo%3Ajenkins-x%2Fjx-cli+repo%3Ajenkins-x%2Fjx-admin+repo%3Ajenkins-x%2Fjx-application+repo%3Ajenkins-x%2Fjx-apps+repo%3Ajenkins-x%2Fjx-helpers+repo%3Ajenkins-x%2Fjx-git-operator+repo%3Ajenkins-x%2Fjx-gitops+repo%3Ajenkins-x%2Fjx-pipeline+repo%3Ajenkins-x%2Fjx-project+repo%3Ajenkins-x%2Fjx-promote+repo%3Ajenkins-x%2Fjx-secret+repo%3Ajenkins-x%2Fjx-verify+repo%3Ajenkins-x%2F%2Fjx-secret+repo%3Ajenkins-x%2Foctant-jx+)
20+
* [view open issues in jx and its plugins](https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Ajenkins-x%2Fjx+repo%3Ajenkins-x%2Fjx-admin+repo%3Ajenkins-x%2Fjx-application+repo%3Ajenkins-x%2Fjx-apps+repo%3Ajenkins-x%2Fjx-helpers+repo%3Ajenkins-x%2Fjx-git-operator+repo%3Ajenkins-x%2Fjx-gitops+repo%3Ajenkins-x%2Fjx-pipeline+repo%3Ajenkins-x%2Fjx-project+repo%3Ajenkins-x%2Fjx-promote+repo%3Ajenkins-x%2Fjx-secret+repo%3Ajenkins-x%2Fjx-verify+repo%3Ajenkins-x%2F%2Fjx-secret+repo%3Ajenkins-x%2Foctant-jx+)
21+
* [view open pull requests in jx and its plugins](https://github.com/pulls?q=is%3Aopen+is%3Apr+-label%3Adependencies+repo%3Ajenkins-x%2Fjx+repo%3Ajenkins-x%2Fjx-admin+repo%3Ajenkins-x%2Fjx-application+repo%3Ajenkins-x%2Fjx-apps+repo%3Ajenkins-x%2Fjx-helpers+repo%3Ajenkins-x%2Fjx-git-operator+repo%3Ajenkins-x%2Fjx-gitops+repo%3Ajenkins-x%2Fjx-pipeline+repo%3Ajenkins-x%2Fjx-project+repo%3Ajenkins-x%2Fjx-promote+repo%3Ajenkins-x%2Fjx-secret+repo%3Ajenkins-x%2Fjx-verify+repo%3Ajenkins-x%2F%2Fjx-secret+repo%3Ajenkins-x%2Foctant-jx+)
2222
* [view open pull requests in jenkins-x-plugins](https://github.com/pulls?q=is%3Aopen+is%3Apr++archived%3Afalse+user%3Ajenkins-x-plugins+)
2323

2424
## Plugins

charts/jx-cli/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
name: jx-cli
2+
name: jx
33
description: Jenkins X next gen cloud CI / CD platform for Kubernetes
44
home: https://jenkins-x.io/
55
version: 0.0.1

charts/jx-cli/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CHART_REPO := gs://jenkinsxio/charts
2-
NAME := jx-cli
2+
NAME := jx
33

44
build: clean
55
rm -rf Chart.lock

charts/jx-cli/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
image:
2-
repository: gcr.io/jenkinsxio/jx-cli
2+
repository: gcr.io/jenkinsxio/jx
33
tag: 3.0.354
44
pullPolicy: IfNotPresent
55

cmd/app/main-win.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os"
77
"syscall"
88

9-
"github.com/jenkins-x/jx-cli/pkg/cmd"
9+
"github.com/jenkins-x/jx/pkg/cmd"
1010
)
1111

1212
// Run runs the command, if args are not nil they will be set on the command

cmd/app/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package app
44

55
import (
6-
"github.com/jenkins-x/jx-cli/pkg/cmd"
6+
"github.com/jenkins-x/jx/pkg/cmd"
77
)
88

99
// Run runs the command, if args are not nil they will be set on the command

cmd/docs/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"path/filepath"
2222
"strings"
2323

24-
"github.com/jenkins-x/jx-cli/pkg/cmd"
24+
"github.com/jenkins-x/jx/pkg/cmd"
2525
"github.com/spf13/cobra"
2626
"github.com/spf13/pflag"
2727
)

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"os"
55

6-
"github.com/jenkins-x/jx-cli/cmd/app"
6+
"github.com/jenkins-x/jx/cmd/app"
77
)
88

99
// Entrypoint for the command

dependency-matrix/matrix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Dependency | Sources | Version | Mismatched versions
1313
[jenkins-x/jx-preview](https://github.com/jenkins-x/jx-preview.git) | | [0.0.128](https://github.com/jenkins-x/jx-preview/releases/tag/v0.0.128) |
1414
[jenkins-x/jx-test](https://github.com/jenkins-x/jx-test.git) | | [0.0.25](https://github.com/jenkins-x/jx-test/releases/tag/v0.0.25) |
1515
[jenkins-x/jxl-base-image](https://github.com/jenkins-x/jxl-base-image) | | [0.0.61]() |
16-
[jenkins-x/jx-cli-base-image](https://github.com/jenkins-x/jx-cli-base-image.git) | | [0.0.43]() |
16+
[jenkins-x/jx-base-image](https://github.com/jenkins-x/jx-base-image.git) | | [0.0.43]() |
1717
[jenkins-x/jx-jenkins](https://github.com/jenkins-x/jx-jenkins.git) | | [0.0.29](https://github.com/jenkins-x/jx-jenkins/releases/tag/v0.0.29) |
1818
[jenkins-x-plugins/jx-scm](https://github.com/jenkins-x-plugins/jx-scm) | | [0.0.2](https://github.com/jenkins-x-plugins/jx-scm/releases/tag/v0.0.2) |
1919
[jenkins-x-plugins/jx-health](https://github.com/jenkins-x-plugins/jx-health.git) | | [0.0.66](https://github.com/jenkins-x-plugins/jx-health/releases/tag/v0.0.66) |

dependency-matrix/matrix.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ dependencies:
6767
versionURL: ""
6868
- host: github.com
6969
owner: jenkins-x
70-
repo: jx-cli-base-image
71-
url: https://github.com/jenkins-x/jx-cli-base-image.git
70+
repo: jx-base-image
71+
url: https://github.com/jenkins-x/jx-base-image.git
7272
version: 0.0.43
7373
versionURL: ""
7474
- host: github.com

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/jenkins-x/jx-cli
1+
module github.com/jenkins-x/jx
22

33
require (
44
github.com/blang/semver v3.5.1+incompatible

hack/changelog-header.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
### Linux
22

33
```shell
4-
curl -L https://github.com/jenkins-x/jx-cli/releases/download/v{{.Version}}/jx-cli-linux-amd64.tar.gz | tar xzv
4+
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-amd64.tar.gz | tar xzv
55
sudo mv jx /usr/local/bin
66
```
77

88
### macOS
99

1010
```shell
11-
curl -L https://github.com/jenkins-x/jx-cli/releases/download/v{{.Version}}/jx-cli-darwin-amd64.tar.gz | tar xzv
11+
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-amd64.tar.gz | tar xzv
1212
sudo mv jx /usr/local/bin
1313
```
1414

hack/upload_plugin.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo "apiVersion: jenkins.io/v1
99
kind: Plugin
1010
metadata:
1111
labels:
12-
jenkins.io/pluginCommand: jx-cli
12+
jenkins.io/pluginCommand: jx
1313
name: remote
1414
spec:
1515
description: CloudBees plugin for remote environments
@@ -26,7 +26,7 @@ ls -al *.gz
2626
echo "uploading the plugin distro to github"
2727
github-release upload \
2828
--user jenkins-x \
29-
--repo jx-cli \
29+
--repo jx \
3030
--tag v${VERSION} \
3131
--name "plugin.gz" \
3232
--file plugin.gz

pkg/cmd/root.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ import (
1313

1414
v1 "github.com/jenkins-x/jx-api/v4/pkg/apis/jenkins.io/v1"
1515
"github.com/jenkins-x/jx-api/v4/pkg/client/clientset/versioned"
16-
"github.com/jenkins-x/jx-cli/pkg/cmd/dashboard"
17-
"github.com/jenkins-x/jx-cli/pkg/cmd/namespace"
18-
"github.com/jenkins-x/jx-cli/pkg/cmd/ui"
19-
"github.com/jenkins-x/jx-cli/pkg/cmd/upgrade"
20-
"github.com/jenkins-x/jx-cli/pkg/cmd/version"
21-
"github.com/jenkins-x/jx-cli/pkg/plugins"
16+
"github.com/jenkins-x/jx/pkg/cmd/dashboard"
17+
"github.com/jenkins-x/jx/pkg/cmd/namespace"
18+
"github.com/jenkins-x/jx/pkg/cmd/ui"
19+
"github.com/jenkins-x/jx/pkg/cmd/upgrade"
20+
"github.com/jenkins-x/jx/pkg/cmd/version"
21+
"github.com/jenkins-x/jx/pkg/plugins"
2222
"github.com/jenkins-x/jx-helpers/v3/pkg/cobras"
2323
"github.com/jenkins-x/jx-helpers/v3/pkg/cobras/helper"
2424
"github.com/jenkins-x/jx-helpers/v3/pkg/cobras/templates"

0 commit comments

Comments
 (0)