Skip to content

Commit

Permalink
test: Testing changes in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinshahfws committed Oct 24, 2023
1 parent d810da2 commit 270ee0d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ else if (task === 'channel') {

// default to 'test' channel if branch is unknown
const config = releaserc.branches.find(b => b.name === branch) || { channel: branch.split('/').pop() }
console.log(' config ************ ', config)
const channel = config.channel || (!config.prerelease ? 'latest' : config.name)
console.log(' channel ************ ', config)

// return the configured channel name for the branch, otherwise return the branch name, unless it's the main branch, then return 'latest'
console.log(channel)
Expand Down

0 comments on commit 270ee0d

Please sign in to comment.