File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -144,18 +144,12 @@ main() {
144
144
# This is because npm view won't exit with non-zero so we have
145
145
# to check the output.
146
146
local hasVersion
147
- hasVersion=$( npm view " code-server @$NPM_VERSION " version)
147
+ hasVersion=$( npm view " $PACKAGE_NAME @$NPM_VERSION " version)
148
148
if [[ $hasVersion == " $NPM_VERSION " ]]; then
149
- echo " $NPM_VERSION is already published"
149
+ echo " $NPM_VERSION is already published under $PACKAGE_NAME "
150
150
return
151
151
fi
152
152
153
- # NOTE@jsjoeio
154
- # There's a strange issue happening with npm complaining
155
- # about the package. This should fix that.
156
- # Source: https://stackoverflow.com/a/66428125/3015595
157
- yarn cache clean --force
158
-
159
153
# NOTE@jsjoeio
160
154
# Since the dev builds are scoped to @coder
161
155
# We pass --access public to ensure npm knows it's not private.
You can’t perform that action at this time.
0 commit comments