Skip to content

Commit

Permalink
enhancement(install vector): Allow downloading specific versions of V…
Browse files Browse the repository at this point in the history
…ector (#19408)

* feat: support install custom vector version

* feat: add documentation for env VECTOR_VERSION

---------

Co-authored-by: Doug Smith <[email protected]>
  • Loading branch information
suikammd and dsmith3197 authored Dec 19, 2023
1 parent 6b19015 commit 61b36e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distribution/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ set -u

# If PACKAGE_ROOT is unset or empty, default it.
PACKAGE_ROOT="${PACKAGE_ROOT:-"https://packages.timber.io/vector"}"
VECTOR_VERSION="0.34.1"
# If VECTOR_VERSION is unset or empty, default it.
VECTOR_VERSION="${VECTOR_VERSION:-"0.34.1"}"
_divider="--------------------------------------------------------------------------------"
_prompt=">>>"
_indent=" "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ The Vector installer enables you to install Vector using a platform-agnostic ins
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash
```

You may use `VECTOR_VERSION` to specify a custom version like below:

```shell
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | VECTOR_VERSION=0.34.1 bash
```

## Management

{{< jump "/docs/administration/management" "vector-executable" >}}

0 comments on commit 61b36e1

Please sign in to comment.