Skip to content

update for new binary and version v0.9.3 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions demo
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
set -eu

# configurable variables
VERSION=0.9.2
VERSION=0.9.3

# script variables
OS=
Expand Down Expand Up @@ -64,7 +64,7 @@ success() {
}

download_url() {
printf "https://downloads.qpoint.io/qpoint/qpoint-v%s-%s-%s.tgz" "$VERSION" "$OS" "$ARCH"
printf "https://downloads.qpoint.io/qpoint/qtap-v%s-%s-%s.tgz" "$VERSION" "$OS" "$ARCH"
}

setup() {
Expand Down Expand Up @@ -118,7 +118,7 @@ banner() {
}

install() {
action "downloading Qpoint $(bold "v${VERSION}")"
action "downloading Qtap $(bold "v${VERSION}")"

if ! dir=$(mktemp -d); then
error "failed to create temporary directory"
Expand All @@ -128,19 +128,19 @@ install() {
# shellcheck disable=SC2064 # we want $dir to expand now
trap "rm -rf '$dir'" EXIT

curl -fsSL "$(download_url)" >qpoint.tgz
tar -xzf qpoint.tgz
mv qpoint-* qpoint
chmod +x qpoint
curl -fsSL "$(download_url)" >qtap.tgz
tar -xzf qtap.tgz
mv qtap-* qtap
chmod +x qtap

success "successfully extracted qpoint to $(bold "$(pwd)/qpoint")"
success "successfully extracted qtap to $(bold "$(pwd)/qtap")"
printf '\n'
}

run() {
action "running Qpoint demo"
action "running Qtap demo"
echo ""
./qpoint
./qtap
}

banner
Expand Down
22 changes: 11 additions & 11 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Y8b
#
#
# This is an installation script for Qpoint (https://qpoint.io). Please run:
# This is an installation script for Qtap (https://qpoint.io). Please run:
#
# curl -s https://get.qpoint.io/install | sudo sh
#
Expand All @@ -22,7 +22,7 @@
set -eu

# configurable variables
VERSION=0.9.2
VERSION=0.9.3

# script variables
OS=
Expand Down Expand Up @@ -64,7 +64,7 @@ success() {
}

download_url() {
printf "https://downloads.qpoint.io/qpoint/qpoint-v%s-%s-%s.tgz" "$VERSION" "$OS" "$ARCH"
printf "https://downloads.qpoint.io/qpoint/qtap-v%s-%s-%s.tgz" "$VERSION" "$OS" "$ARCH"
}

setup() {
Expand Down Expand Up @@ -118,7 +118,7 @@ banner() {
}

install() {
action "installing Qpoint $(bold "v${VERSION}")"
action "installing Qtap $(bold "v${VERSION}")"

if ! dir=$(mktemp -d); then
error "failed to create temporary directory"
Expand All @@ -128,12 +128,12 @@ install() {
# shellcheck disable=SC2064 # we want $dir to expand now
trap "rm -rf '$dir'" EXIT

curl -fsSL "$(download_url)" >qpoint.tgz
tar -xzf qpoint.tgz
mv qpoint-* /usr/local/bin/qpoint
chmod +x /usr/local/bin/qpoint
curl -fsSL "$(download_url)" >qtap.tgz
tar -xzf qtap.tgz
mv qtap-* /usr/local/bin/qtap
chmod +x /usr/local/bin/qtap

success "successfully installed at $(bold "/usr/local/bin/qpoint")"
success "successfully installed at $(bold "/usr/local/bin/qtap")"
printf '\n'
}

Expand All @@ -143,9 +143,9 @@ usage_instructions() {
echo "${DIM}2.${RESET} navigate to $(bold "Settings -> Installation") and copy the auth token"
echo "${DIM}3.${RESET} verify that the installation is successful by running:"
echo ""
echo " sudo qpoint tap --registration-token $(bold "<auth-token>")"
echo " sudo qtap --registration-token $(bold "<auth-token>")"
echo ""
echo "${PURPLE}ℹ${RESET} to run qpoint as a service, follow the instructions at"
echo "${PURPLE}ℹ${RESET} to run qtap as a service, follow the instructions at"
echo " $(bold "https://docs.qpoint.io/installation/linux-binary#running-qtap-as-a-service")"
echo ""
}
Expand Down