From 05239d1d0fcdd2adf086ae62d1dd90fcd19b6449 Mon Sep 17 00:00:00 2001 From: Rob Zwissler Date: Mon, 8 Apr 2024 17:14:12 -0700 Subject: [PATCH 1/3] update sver readme --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 03fc412..d64d68f 100644 --- a/README.md +++ b/README.md @@ -78,11 +78,9 @@ for **sver**. convenient ways to install it. #### asdf -The [asdf-sver](https://github.com/robzr/asdf-sver) plugin enables version management for **sver**. A -[PR](https://github.com/asdf-vm/asdf-plugins/pull/965) has been opened for inclusion into the asdf plugin registry; in -the meantime you can manually specify the asdf plugin repo. +The [asdf-sver](https://github.com/robzr/asdf-sver) plugin enables version management for **sver**. ```bash -asdf plugin add sver https://github.com/robzr/asdf-sver.git +asdf plugin add sver asdf install sver latest asdf global sver latest ``` From c4211b5da040bf3cd6cef5e6b4b3d2d0e598c8f7 Mon Sep 17 00:00:00 2001 From: Rob Zwissler Date: Tue, 9 Apr 2024 10:07:26 -0700 Subject: [PATCH 2/3] fix action bin path --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 4b6af15..91e433f 100644 --- a/action.yaml +++ b/action.yaml @@ -31,7 +31,7 @@ runs: INPUT: ${{ inputs.input }} INPUT_FILE: /dev/null INPUT_COMMAND: ${{ inputs.input-command }} - SVER_BIN: ${{ github.action_path }}sver + SVER_BIN: ${{ github.action_path }}/sver id: run run: | # steps.run From 2129fdbac2446be838bf869ab6037e12ee46a806 Mon Sep 17 00:00:00 2001 From: Rob Zwissler Date: Tue, 9 Apr 2024 10:08:32 -0700 Subject: [PATCH 3/3] bump version --- README.md | 6 +++--- sver | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d64d68f..525b654 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ The `output` output will contain the result, regardless of type (string, boolean with: command: version -- if: steps.sver.outputs.output == 'v1.2.4' +- if: steps.sver.outputs.output == 'v1.2.5' ... ``` Commands that return a boolean will return a boolean-as-string. @@ -88,7 +88,7 @@ asdf global sver latest #### curl You can simply curl a version directly. ```bash -curl -LO https://github.com/robzr/sver/releases/download/v1.2.4/sver +curl -LO https://github.com/robzr/sver/releases/download/v1.2.5/sver ``` #### Homebrew @@ -101,7 +101,7 @@ brew install sver ### Command line usage See `sver help` for documentation. ```text -sver v1.2.4 (https://github.com/robzr/sver) self contained cli tool and function +sver v1.2.5 (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. diff --git a/sver b/sver index 248ed37..2f0b518 100755 --- a/sver +++ b/sver @@ -3,7 +3,7 @@ # shellcheck disable=SC1008,SC2015,SC2096 # shfmt -i 2 -ci -w -SVER_VERSION=v1.2.4 +SVER_VERSION=v1.2.5 SVER_INTRO="\ sver ${SVER_VERSION} (https://github.com/robzr/sver) self contained cli tool and function library implementing a Semantic Versioning 2 compliant parser and utilities.