Skip to content

Commit

Permalink
fix npm publish target
Browse files Browse the repository at this point in the history
  • Loading branch information
HLWeil committed Jan 26, 2024
1 parent 717524c commit 66b6713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/ReleaseTasks.fs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ let publishNPM = BuildTask.create "PublishNPM" [clean; build; runTests; packJS]
let msg = sprintf "[NPM] release package with version %s?" stableVersionTag
if promptYesNo msg then
let apikey = Environment.environVarOrNone "NPM_KEY"
let otp = if apikey.IsSome then $" --otp + {apikey.Value}" else ""
let otp = if apikey.IsSome then $" --otp {apikey.Value}" else ""
run npm $"publish --access public{otp}" ProjectInfo.npmPkgDir
else failwith "aborted"
}
Expand Down

0 comments on commit 66b6713

Please sign in to comment.