From 307b8f2e92f26f15873c49a855b03d628e950b42 Mon Sep 17 00:00:00 2001 From: Roland Rodriguez Date: Thu, 25 Jul 2024 06:23:49 -0600 Subject: [PATCH] feat: Update binary name for Windows platform and bump version to 1.0.0-alpha.27 --- Cargo.lock | 2 +- Cargo.toml | 2 +- bin/cli | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3a6877a..039cdc1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -439,7 +439,7 @@ checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" [[package]] name = "paseto_cli" -version = "1.0.0-alpha.26" +version = "1.0.0-alpha.27" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 94d1a35..53e3411 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "paseto_cli" -version = "1.0.0-alpha.26" +version = "1.0.0-alpha.27" edition = "2021" description = "A command-line tool for generating and validating PASETO v4.local tokens" authors = ["Roland Rodriguez "] diff --git a/bin/cli b/bin/cli index 0297d10..f01b70b 100644 --- a/bin/cli +++ b/bin/cli @@ -12,7 +12,7 @@ const BINARY_DISTRIBUTION_PACKAGES = { }; // Windows binaries end with .exe so we need to special case them. -const binaryName = process.platform === "win32" ? "paseto_cli.exe" : "paseto_cli-binary"; +const binaryName = process.platform === "win32-x64" ? "paseto_cli.exe" : "paseto_cli"; // Determine package name for this platform const platformSpecificPackageName = BINARY_DISTRIBUTION_PACKAGES[`${process.platform}-${process.arch}`];;