Skip to content

Commit 512d293

Browse files
jsjoeiocode-asher
andauthored
Update ci/steps/publish-npm.sh
Co-authored-by: Asher <[email protected]>
1 parent 3e5e0fb commit 512d293

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/steps/publish-npm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ main() {
9999
# This is because npm view won't exit with non-zero so we have
100100
# to check the output.
101101
local hasVersion
102-
hasVersion=$(npm view "code-server@$VERSION" version)
103-
if [[ $hasVersion == "$VERSION" ]]; then
104-
echo "$VERSION is already published"
102+
hasVersion=$(npm view "code-server@$NPM_VERSION" version)
103+
if [[ $hasVersion == "$NPM_VERSION" ]]; then
104+
echo "$NPM_VERSION is already published
105105
return
106106
fi
107107

0 commit comments

Comments
 (0)