Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

Commit ce958de

Browse files
committed
fix script
1 parent a7c4243 commit ce958de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ let
140140
publish = pkgs.writeShellScriptBin "publish" ''
141141
echo //registry.npmjs.org/:_authToken=''${NPM_TOKEN} > .npmrc
142142
143-
echo PACKAGE_NAME=$(node -p "require('./package.json').name") | tr -d @ | tr / -
144-
echo PACKAGE_VERSION=$(node -p "require('./package.json').version")
143+
PACKAGE_NAME=$(node -p "require('./package.json').name" | tr -d @ | tr / -)
144+
PACKAGE_VERSION=$(node -p "require('./package.json').version")
145145
npm pack
146146
npm publish ./$PACKAGE_NAME-$PACKAGE_VERSION.tgz --access public
147147
'';

0 commit comments

Comments
 (0)