Skip to content

Commit

Permalink
map alpha versions to the next channel/tag
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Dec 20, 2023
1 parent 13f4cd5 commit 5976b9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/release-channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ let version = require(path.resolve(pkgPath, 'package.json')).version

let match = /\d+\.\d+\.\d+-(.*)\.\d+/g.exec(version)
if (match) {
// We want to release alpha to the next channel because it will be the next version
if (match === 'alpha') match = 'next'
console.log(match[1])
} else {
console.log('latest')
Expand Down

1 comment on commit 5976b9a

@vercel
Copy link

@vercel vercel bot commented on 5976b9a Dec 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

headlessui-vue – ./packages/playground-vue

headlessui-vue.vercel.app
headlessui-vue-tailwindlabs.vercel.app
headlessui-vue-git-main-tailwindlabs.vercel.app

Please sign in to comment.