Skip to content

Commit

Permalink
Merge pull request #266 from mikutas/installer-script_aqua_version
Browse files Browse the repository at this point in the history
feat: installer-script preset for updating aqua
  • Loading branch information
suzuki-shunsuke authored Dec 5, 2022
2 parents fdf9deb + 1b0be34 commit 3bfa0e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ https://aquaproj.github.io/docs/tutorial-extras/split-config

### `installer-script` Preset

The preset `installer-script` updates the shell script aqua-installer.
The preset `installer-script` updates the shell script aqua-installer and aqua itself.
You have to pass fileMatch as parameter.

```json
Expand All @@ -106,7 +106,7 @@ You have to pass fileMatch as parameter.
```

```sh
curl -sSfL https://raw.githubusercontent.com/aquaproj/aqua-installer/v1.1.2/aqua-installer | bash
curl -sSfL https://raw.githubusercontent.com/aquaproj/aqua-installer/v1.1.2/aqua-installer | bash -s -- -v v1.25.0
```

## License
Expand Down
8 changes: 8 additions & 0 deletions installer-script.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "aquaproj/aqua-installer"
},
{
"fileMatch": ["{{arg0}}"],
"matchStrings": [
"aqua-installer +(\\| +(ba|z)?sh +-s +-- +)?(-i +\\S+ +)?-v +['\"]?(?<currentValue>[^'\" \\n]+)['\"]?\\s"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "aquaproj/aqua"
}
]
}

0 comments on commit 3bfa0e3

Please sign in to comment.