Commit 64f20ec6 by Francisco Giordano

Fix release.sh for npm 7

parent 783e928a
......@@ -42,8 +42,10 @@ publish() {
npm publish --tag "$dist_tag" --otp "$(prompt_otp)"
log "Publishing @openzeppelin/contracts on npm"
cd contracts
env ALREADY_COMPILED= \
npm publish contracts --tag "$dist_tag" --otp "$(prompt_otp)"
npm publish --tag "$dist_tag" --otp "$(prompt_otp)"
cd ..
if [[ "$dist_tag" == "latest" ]]; then
otp="$(prompt_otp)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment