mirror of
https://github.com/OpenZeppelin/openzeppelin-contracts.git
synced 2021-05-29 14:48:28 +03:00
Fix release.sh for npm 7
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user