Skip to content

Commit 7347e04

Browse files
authored
Use perl instead of grep since macOS grep flags are different (#270)
Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>
1 parent 6fa4e6b commit 7347e04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/en/02-installing-pixie/03-install-guides/02-self-hosted-pixie.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Get Pixie fully managed with [Pixie Community Cloud](/installing-pixie/install-g
3737
1. Pick a cloud release version from the [tags](https://github.com/pixie-io/pixie/tags) on the repo. The following should pick the latest release for you.
3838

3939
```bash
40-
export LATEST_CLOUD_RELEASE=$(git tag | grep -Po '(?<=release/cloud/v)[^\-]*$' | sort -t '.' -k1,1nr -k2,2nr -k3,3nr | head -n 1)
40+
export LATEST_CLOUD_RELEASE=$(git tag | perl -ne 'print $1 if /release\/cloud\/v([^\-]*)$/' | sort -t '.' -k1,1nr -k2,2nr -k3,3nr | head -n 1)
4141
```
4242

4343
1. Checkout the release tag.

0 commit comments

Comments
 (0)