Skip to content

Commit

Permalink
fix(scripts): fix quickon typo
Browse files Browse the repository at this point in the history
fix quickon typo

Signed-off-by: ysicing <[email protected]>
  • Loading branch information
ysicing committed Sep 8, 2023
1 parent 1d168a8 commit e1fe869
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ task
```bash
# 稳定版本 / stable / tag (Recommended)
curl https://pkg.qucheng.com/quickon/get.sh | sh -
curl -sfL https://pkg.qucheng.com/quickon/get.sh | sh -
# 安装渠成平台
q init --provider quickon
# 安装禅道DevOPS
q init --provider devops
# 一键安装
curl -sfL https://pkg.qucheng.com/quickon/install.sh | INSTALL_DOMAIN=example.com sh -
```

#### 3. 包安装
Expand Down
4 changes: 2 additions & 2 deletions hack/scripts/devops/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Source code is available at https://github.com/easysoft/quickon_cli

# SCRIPT_COMMIT_SHA="a77fcbaf862d7b2d1eb8b08c5920adde14edc4ca"
# SCRIPT_DATA="Wed Sep 6 10:18:50 2023 +0800"
# SCRIPT_DATA="Fri Sep 8 09:46:36 AM CST 2023"

# Usage:
# curl ... | ENV_VAR=... sh -
Expand Down Expand Up @@ -156,7 +156,7 @@ download() {
# --- download binary from cos url ---
download_binary() {
BIN_URL=${COS_URL}/${VERSION}/qcadmin_linux_${SUFFIX}
info "Downloading binary from ${BIN_URL}"
info "Downloading binary"
download ${TMP_BIN} ${BIN_URL}
}

Expand Down
4 changes: 2 additions & 2 deletions hack/scripts/quickon/get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Source code is available at https://github.com/easysoft/quickon_cli

# SCRIPT_COMMIT_SHA="a77fcbaf862d7b2d1eb8b08c5920adde14edc4ca"
# SCRIPT_DATA="Wed Sep 6 10:18:50 2023 +0800"
# SCRIPT_DATA="Fri Sep 8 09:46:36 AM CST 2023"

# Usage:
# curl ... | ENV_VAR=... sh -
Expand Down Expand Up @@ -156,7 +156,7 @@ download() {
# --- download binary from cos url ---
download_binary() {
BIN_URL=${COS_URL}/${VERSION}/qcadmin_linux_${SUFFIX}
info "Downloading binary from ${BIN_URL}"
info "Downloading binary"
download ${TMP_BIN} ${BIN_URL}
}

Expand Down
6 changes: 3 additions & 3 deletions hack/scripts/quickon/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Source code is available at https://github.com/easysoft/quickon_cli

# SCRIPT_COMMIT_SHA="a77fcbaf862d7b2d1eb8b08c5920adde14edc4ca"
# SCRIPT_DATA="Wed Sep 6 10:18:50 2023 +0800"
# SCRIPT_DATA="Fri Sep 8 09:46:36 AM CST 2023"

# Usage:
# curl ... | ENV_VAR=... sh -
Expand Down Expand Up @@ -156,7 +156,7 @@ download() {
# --- download binary from cos url ---
download_binary() {
BIN_URL=${COS_URL}/${VERSION}/qcadmin_linux_${SUFFIX}
info "Downloading binary from ${BIN_URL}"
info "Downloading binary"
download ${TMP_BIN} ${BIN_URL}
}

Expand Down Expand Up @@ -190,7 +190,7 @@ download_and_verify() {
install_quickon() {
INSTALL_COMMAND="${BIN_DIR}/q init --provider quickon"
if [ -n "${INSTALL_DOMAIN}" ]; then
INSTALL_COMMAND="${BIN_DIR}/z init --provider quickon --domain ${INSTALL_DOMAIN}"
INSTALL_COMMAND="${BIN_DIR}/q init --provider quickon --domain ${INSTALL_DOMAIN}"
fi
if [ -n "${INSTALL_VERSION}" ]; then
INSTALL_COMMAND="${INSTALL_COMMAND} --version ${INSTALL_VERSION}"
Expand Down

0 comments on commit e1fe869

Please sign in to comment.