Skip to content

Commit

Permalink
feat: Update binary name for Windows platform and bump version to 1.0…
Browse files Browse the repository at this point in the history
….0-alpha.27
  • Loading branch information
rrrodzilla committed Jul 25, 2024
1 parent 4dbddcf commit 307b8f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <roland@govcraft.ai>"]
Expand Down
2 changes: 1 addition & 1 deletion bin/cli
Original file line number Diff line number Diff line change
Expand Up @@ -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}`];;
Expand Down

0 comments on commit 307b8f2

Please sign in to comment.