Skip to content

Commit

Permalink
Preparing for 1.0.1 release which contains updated installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
joliver committed Dec 31, 2019
1 parent 476136d commit f201e25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ COPY --from=version-tools / /usr/bin

### On a Debian-based OS:
```
$ wget "https://github.com/smartystreets/version-tools/releases/download/1.0.0/version-tools_1.0.0_all.deb"
$ dpkg -i version-tools_1.0.0_all.deb
$ rm version-tools_1.0.0_all.deb
$ wget "https://github.com/smartystreets/version-tools/releases/download/1.0.1/version-tools_1.0.1_all.deb"
$ dpkg -i version-tools_1.0.1_all.deb
$ rm version-tools_1.0.1_all.deb
```

You can also install using the provided install script which works on BSD, Linux, and Mac and work in shell environments such as Bash and others.
Expand All @@ -101,13 +101,13 @@ Package [version-tools] successfully installed into [/usr/local/bin/].

### Other environments (tar.gz):
```
$ curl "https://github.com/smartystreets/version-tools/releases/download/1.0.0/release.tar.gz" \
$ curl "https://github.com/smartystreets/version-tools/releases/download/1.0.1/release.tar.gz" \
| sudo tar -xz -C /usr/local/bin
```

### Other environments (zip):
```
$ wget "https://github.com/smartystreets/version-tools/releases/download/1.0.0/release.zip"
$ wget "https://github.com/smartystreets/version-tools/releases/download/1.0.1/release.zip"
$ unzip release.zip -d /usr/local/bin
$ rm release.zip
```
Expand Down
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu
[ $(id -u) -ne 0 ] && echo "This script must be run as root" && exit 1

install_dir="${TARGET:-/usr/local/bin}"
version="${VERSION:-1.0.0}"
version="${VERSION:-1.0.1}"
DOWNLOAD="https://github.com/smartystreets/version-tools/releases/download/${version}/release.tar.gz"

mkdir -p "${install_dir}"
Expand Down

0 comments on commit f201e25

Please sign in to comment.