mirror of https://github.com/nuxt/nuxt.git
ci: use `GITHUB_REF_NAME` to get branch for release
This commit is contained in:
parent
3c1d027977
commit
d49ea58de0
|
@ -4,7 +4,7 @@ import { inc } from 'semver'
|
|||
import { generateMarkDown, loadChangelogConfig } from 'changelogen'
|
||||
import { determineBumpType, getLatestCommits, loadWorkspace } from './_utils'
|
||||
|
||||
const releaseBranch = process.env.BRANCH || 'main'
|
||||
const releaseBranch = process.env.GITHUB_REF_NAME || 'main'
|
||||
|
||||
async function main () {
|
||||
const workspace = await loadWorkspace(process.cwd())
|
||||
|
|
Loading…
Reference in New Issue