Skip to content

Commit

Permalink
Create Linux installer shell script. Closes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
fxaguessy committed Feb 22, 2017
1 parent 96d907d commit e9da535
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

As model/relations for resources may evolve, if you have any issues with models related commands, you can run `rm -Rf ~/.awless/aws/rdf` to start a fresh RDF model.

### Features

- [#6](https://github.com/wallix/awless/issues/6): Create Linux installer shell script: `curl https://raw.githubusercontent.com/wallix/awless/master/getawless.sh | bash`

### Bugfixes

- [#57](https://github.com/wallix/awless/issues/57): Properly fetch buckets when they are in the `us-east-1` region.
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@

Choose one of the following options:

1. Download the latest `awless` binaries (Windows/Linux/macOS) [from Github](https://github.com/wallix/awless/releases/latest)
2. If you have Golang already installed, build the source with: `go get github.com/wallix/awless`
3. On macOS, use [homebrew](http://brew.sh): `brew tap wallix/awless; brew install awless`
1. On macOS, use [homebrew](http://brew.sh): `brew tap wallix/awless; brew install awless`
2. With `curl` (macOS/Linux), run: `curl https://raw.githubusercontent.com/wallix/awless/master/getawless.sh | bash`
3. Download the latest `awless` binaries (Windows/Linux/macOS) [from Github](https://github.com/wallix/awless/releases/latest)
4. If you have Golang already installed, build the source with: `go get github.com/wallix/awless`

# Getting started

Expand Down
2 changes: 1 addition & 1 deletion getawless.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ else
fi


LATEST_VERSION=`curl -s https://updates.awless.io | grep -oE "\d{1,3}.\d{1,3}.\d{1,3}"`
LATEST_VERSION=`curl -s https://updates.awless.io | grep -oE "[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}"`

DOWNLOAD_URL="https://github.com/wallix/awless/releases/download/$LATEST_VERSION/awless-$OS-$ARCH.zip"

Expand Down

0 comments on commit e9da535

Please sign in to comment.