We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dbd995 commit 5b58255Copy full SHA for 5b58255
script/rolling-release-scripts/rolling-release-binary-upload.js
@@ -9,8 +9,9 @@ const packageJson = require("../../package.json");
9
// Since cirrus always triggers this script, we must check if the version is a rolling
10
// release version
11
const verSegments = packageJson.version.split(".");
12
+const lastVerSegment = verSegments[verSegments.length - 1];
13
-if (verSegments[verSegments.length - 1].length < 4) {
14
+if (lastVerSegment.length < 4 || lastVerSegment.includes('-dev')) {
15
console.log(`According to our version: ${packageJson.version} this is not a rolling release...`);
16
console.log("Exiting without changes...");
17
process.exit(0);
0 commit comments