diff --git a/install/prebuild-ci.js b/install/prebuild-ci.js
index <HASH>..<HASH> 100644
--- a/install/prebuild-ci.js
+++ b/install/prebuild-ci.js
@@ -2,8 +2,8 @@
 
 const { execFileSync } = require('child_process');
 
-const { prebuild_upload: hasToken, APPVEYOR_REPO_TAG_NAME, TRAVIS_TAG } = process.env;
+const { prebuild_upload: hasToken, APPVEYOR_REPO_TAG, TRAVIS_TAG } = process.env;
 
-if (hasToken && (APPVEYOR_REPO_TAG_NAME || TRAVIS_TAG)) {
+if (hasToken && (Boolean(APPVEYOR_REPO_TAG) || TRAVIS_TAG)) {
   execFileSync('prebuild', ['--runtime', 'napi', '--target', '3'], { stdio: 'inherit' });
 }
CI: workaround Appveyor ignoring v-prefixed tag names