diff --git a/.github/workflows/release_and_publish.yml b/.github/workflows/release_and_publish.yml index 881a7f8..1389e8c 100644 --- a/.github/workflows/release_and_publish.yml +++ b/.github/workflows/release_and_publish.yml @@ -1,4 +1,4 @@ -name: Release and Publish +name: Release on: workflow_dispatch diff --git a/Cargo.lock b/Cargo.lock index 6968bed..9938e92 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -439,7 +439,7 @@ checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" [[package]] name = "paseto_cli" -version = "1.0.0-alpha.34" +version = "1.0.0-alpha.35" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 2580bfb..11d1eb9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "paseto_cli" -version = "1.0.0-alpha.34" +version = "1.0.0-alpha.35" edition = "2021" description = "A command-line tool for generating and validating PASETO v4.local tokens" authors = ["Roland Rodriguez "] diff --git a/README.md b/README.md index e8dd062..3dfcc9c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ PASETO CLI generates and validates PASETO v4.local tokens. -[![Build Status](https://img.shields.io/travis/Govcraft/paseto-cli/master.svg?style=flat-square)](https://travis-ci.org/Govcraft/paseto-cli) +[![Build](https://github.com/GovCraft/paseto_cli/actions/workflows/release_and_publish.yml/badge.svg)](https://github.com/GovCraft/paseto_cli/actions/workflows/release_and_publish.yml) [![License](https://img.shields.io/badge/license-GPL--3.0-blue.svg?style=flat-square)](https://github.com/GovCraft/paseto_cli/blob/main/LICENSE) [![Crates.io](https://img.shields.io/crates/v/paseto_cli.svg?style=flat-square)](https://crates.io/crates/paseto_cli) @@ -11,7 +11,8 @@ PASETO CLI generates and validates PASETO v4.local tokens. ### Installation ```bash -cargo install paseto_cli +// Available on NPM +npm i -g @govcraft/paseto_cli@latest ``` ### Generate a Token @@ -52,7 +53,7 @@ echo "your-32-byte-key-in-base64" | paseto_cli validate --token "v4.local.your-t To install PASETO CLI using npm, run the following command: ```bash -npm i @govcraft/paseto_cli +npm i -g @govcraft/paseto_cli@latest ``` This will install the PASETO CLI tool globally on your system.