Skip to content

Commit

Permalink
Merge pull request #7 from robzr/add_documentation_asdf
Browse files Browse the repository at this point in the history
add asdf usage
  • Loading branch information
robzr authored Feb 23, 2024
2 parents 5217de7 + ac1614a commit 4292052
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,36 @@ optimized, portable, pure bash (v3+) for simplicity & speed.
It is a self contained bash script, so you can clone the repo and run directly.
However, here are some other convenient ways to install it.

#### asdf
A [PR](https://github.com/asdf-vm/asdf-plugins/pull/965) has been opened to add `sver`
into the asdf plugin registry; until that happens, you can manually specify the asdf
plugin repo.
```bash
asdf plugin add sver https://github.com/robzr/asdf-sver.git
asdf install sver latest
asdf global sver 1.0.0
```

#### curl
You can simply curl a version directly.
```bash
curl -LO https://github.com/robzr/sver/releases/download/v1.0.0/sver
```

#### Homebrew
A Homebrew tap is available.
```
```bash
brew tap robzr/sver
brew install sver
```
If we can get enough momentum for this project on GitHub to meet Homebrew
criteria for a core formula, it will be added! This requires more than 75 stars,
30 forks or 30 watchers.

#### curl
You can simply curl a version directly.
```
curl -LO https://github.com/robzr/sver/releases/download/v1.0.0/sver
```

#### asdf
Coming soon, working on an asdf plugin.

### Command
See `sver help` for documentation.
```bash
sver v0.0.1 (https://github.com/robzr/sver) self contained cli tool and function
```text
sver v1.0.0 (https://github.com/robzr/sver) self contained cli tool and function
library implementing a Semantic Versioning 2 compliant parser and utilities.
Written in optimized, portable, pure bash (v3)+ for simplicity & speed.
Expand Down

0 comments on commit 4292052

Please sign in to comment.