|
@@ -42,8 +42,10 @@ publish() {
|
|
npm publish --tag "$dist_tag" --otp "$(prompt_otp)"
|
|
npm publish --tag "$dist_tag" --otp "$(prompt_otp)"
|
|
|
|
|
|
log "Publishing @openzeppelin/contracts on npm"
|
|
log "Publishing @openzeppelin/contracts on npm"
|
|
|
|
+ cd contracts
|
|
env ALREADY_COMPILED= \
|
|
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
|
|
if [[ "$dist_tag" == "latest" ]]; then
|
|
otp="$(prompt_otp)"
|
|
otp="$(prompt_otp)"
|