Skip to content

Commit

Permalink
feat: Update binary name condition for Windows platform and bump pase…
Browse files Browse the repository at this point in the history
…to_cli version to 1.0.0-alpha.29
  • Loading branch information
rrrodzilla committed Jul 25, 2024
1 parent 0cd2934 commit e47602e
Show file tree
Hide file tree
Showing 3 changed files with 4 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.28"
version = "1.0.0-alpha.29"
edition = "2021"
description = "A command-line tool for generating and validating PASETO v4.local tokens"
authors = ["Roland Rodriguez <roland@govcraft.ai>"]
Expand Down
3 changes: 2 additions & 1 deletion bin/cli
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const BINARY_DISTRIBUTION_PACKAGES = {
};

// Windows binaries end with .exe so we need to special case them.
const binaryName = process.platform === "win32-x64" ? "paseto_cli.exe" : "paseto_cli";
const binaryName = process.platform === "win32" ? "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 e47602e

Please sign in to comment.