message: build: Re-enable canary builds for prerelease/v5
diff: @@ -23,8 +23,8 @@ if (TRAVIS_BRANCH === 'master') {
  distTag = 'next';
  } else if (isPrerelease) {
  distTag = 'prerelease-next';
  - console.error('Prerelease canary builds disabled.');
  - process.exit(0);
  + // console.error('Prerelease canary builds disabled.');
  + // process.exit(0);
  } else {
  console.error('No travis branch provided');
  process.exit(1);
  @@ -44,7 +44,7 @@ const slackAnnouncement = attachment => {
  ],
  },
  },
  - (error) => {
  + error => {
  if (error) {
  throw error;
  }
  @@ -91,10 +91,7 @@ exec('git diff --name-only HEAD HEAD^')
  .then(({stdout}) => {
  console.log(stdout);
  - const regex = new RegExp(
  - `@workday\\/[a-z-]*@(\\d*.\\d*.\\d*-${preid}.\\d*\\+\\w*)`,
  - 'g'
  - );
  + const regex = new RegExp(`@workday\\/[a-z-]*@(\\d*.\\d*.\\d*-${preid}.\\d*\\+\\w*)`, 'g');
  data.packages = stdout.match(regex);
  data.version = regex.exec(data.packages[0])[1];
  