Skip to content

Commit be01d8f

Browse files
authored
Merge pull request #13 from britive/develop
doc update to reflect new command to install the most recent version
2 parents 4112e54 + 9243211 commit be01d8f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

docs/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ version=x.y.z
2323
pip install https://github.com/britive/python-cli/releases/download/v$version/pybritive-$version.tar.gz
2424
~~~
2525

26+
Or you can always pull the latest version using one of the following commands
27+
28+
~~~
29+
pip install $(curl -s https://api.github.com/repos/britive/python-cli/releases/latest | jq -r '.assets[] | select(.content_type == "application/x-gzip") | .browser_download_url')
30+
31+
OR
32+
33+
pip install $(curl -s https://api.github.com/repos/britive/python-cli/releases/latest | grep "browser_download_url.*.tar.gz" | cut -d : -f 2,3 | tr -d \")
34+
~~~
35+
2636
The end user is free to install the CLI into a virtual environment or in the global scope, so it is available
2737
everywhere.
2838

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pybritive
3-
version = 0.1.5
3+
version = 0.1.6
44
author = Britive Inc.
55
author_email = support@britive.com
66
description = A pure Python CLI for Britive

0 commit comments

Comments
 (0)