Skip to content

Commit 8d43cb7

Browse files
committed
Fixed wrong prerelease detection regex
1 parent ef0ee6a commit 8d43cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/tasks/publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ module.exports = function (grunt) {
256256
Authorization: `token ${gitKey}`,
257257
},
258258
body: JSON.stringify({
259-
prerelease: /rc,alpha,beta/i.test(grunt.config.data.version),
259+
prerelease: /rc|alpha|beta/i.test(grunt.config.data.version),
260260
name: grunt.config.data.version,
261261
tag_name: grunt.config.data.version,
262262
body: releaseNotes

0 commit comments

Comments
 (0)