File tree 1 file changed +2
-12
lines changed 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -38,21 +38,13 @@ push_release_branch_and_tag() {
38
38
publish () {
39
39
dist_tag=" $1 "
40
40
41
- log " Publishing @openzeppelin/contracts on npm"
42
- npm publish --tag " $dist_tag " --otp " $( prompt_otp) "
43
-
44
41
log " Publishing @openzeppelin/contracts on npm"
45
42
cd contracts
46
- env ALREADY_COMPILED= \
47
- npm publish --tag " $dist_tag " --otp " $( prompt_otp) "
43
+ npm publish --tag " $dist_tag " --otp " $( prompt_otp) "
48
44
cd ..
49
45
50
46
if [[ " $dist_tag " == " latest" ]]; then
51
- otp=" $( prompt_otp) "
52
- npm dist-tag rm --otp " $otp " @openzeppelin/contracts next
53
-
54
- # No longer updated!
55
- # npm dist-tag rm --otp "$otp" openzeppelin-solidity next
47
+ npm dist-tag rm --otp " $( prompt_otp) " @openzeppelin/contracts next
56
48
fi
57
49
}
58
50
@@ -145,8 +137,6 @@ elif [[ "$*" == "final" ]]; then
145
137
146
138
push_and_publish latest
147
139
148
- # npm deprecate 'openzeppelin-solidity@>=4.0.0' "This package is now published as @openzeppelin/contracts. Please change your dependency."
149
-
150
140
log " Remember to merge the release branch into master and push upstream"
151
141
152
142
else
You can’t perform that action at this time.
0 commit comments