Skip to content

Commit

Permalink
Fixed wrong prerelease detection regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanaye committed Feb 14, 2017
1 parent ef0ee6a commit 8d43cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/tasks/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ module.exports = function (grunt) {
Authorization: `token ${gitKey}`,
},
body: JSON.stringify({
prerelease: /rc,alpha,beta/i.test(grunt.config.data.version),
prerelease: /rc|alpha|beta/i.test(grunt.config.data.version),
name: grunt.config.data.version,
tag_name: grunt.config.data.version,
body: releaseNotes
Expand Down

0 comments on commit 8d43cb7

Please sign in to comment.