From 72372204b3efc2423f688558bcde571b7a0089a9 Mon Sep 17 00:00:00 2001 From: Rob Zwissler Date: Thu, 22 Feb 2024 17:49:02 -0800 Subject: [PATCH 1/2] add asdf usage --- README.md | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 656428b..dc1e698 100644 --- a/README.md +++ b/README.md @@ -24,15 +24,15 @@ 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. -#### Homebrew -A Homebrew tap is available. +#### 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. ``` -brew tap robzr/sver -brew install sver +asdf plugin add sver https://github.com/robzr/asdf-sver.git +asdf install sver latest +asdf global sver 1.0.0 ``` -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. @@ -40,13 +40,20 @@ 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. +#### Homebrew +A Homebrew tap is available. +``` +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. ### Command See `sver help` for documentation. ```bash -sver v0.0.1 (https://github.com/robzr/sver) self contained cli tool and function +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. From ac1614abcff0975b779b1c6eb42be87ab18dc5c7 Mon Sep 17 00:00:00 2001 From: Rob Zwissler Date: Thu, 22 Feb 2024 17:51:31 -0800 Subject: [PATCH 2/2] disable syntax highlighting --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dc1e698..d7ab759 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ However, here are some other convenient ways to install it. 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 @@ -36,13 +36,13 @@ 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 ``` @@ -52,7 +52,7 @@ criteria for a core formula, it will be added! This requires more than 75 stars, ### Command See `sver help` for documentation. -```bash +```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.