Skip to content

Commit

Permalink
fix: add binaryName to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Pehesi97 committed Sep 6, 2023
1 parent cd8ba2a commit 9549d8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "initium-cli",
"binaryName": "initium-cli",
"version": "0.3.0",
"description": "A single static binary that can run on any CI to build your code and deploy it in a single step.",
"main": "initium-cli",
Expand Down
2 changes: 1 addition & 1 deletion scripts/npm-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const platformMap = {

class InitiumExecutable {
constructor() {
this.name = packageMetadata.name;
this.name = packageMetadata.binaryName;
this.organization = 'nearform';
this.version = packageMetadata.version;
this.releaseFileExtension = os.platform === 'win32' ? 'zip' : 'tar.gz';
Expand Down

0 comments on commit 9549d8d

Please sign in to comment.