Skip to content

Commit

Permalink
fix: the vue repo needs to be cloned even with --release
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Apr 27, 2023
1 parent 4363ea3 commit d9b8639
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ecosystem-ci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@ cli
const { root, vuePath, workspace } = await setupEnvironment()
const suitesToRun = getSuitesToRun(suites, root)
let vueMajor
if (!options.release) {
await setupVueRepo(options)

// Need to setup the Vue repo to get the package names
await setupVueRepo(options)

if (options.release) {
vueMajor = parseMajorVersion(options.release)
} else {
await buildVue({ verify: options.verify, publish: true })
vueMajor = parseVueMajor(vuePath)
} else {
vueMajor = parseMajorVersion(options.release)
}

const runOptions: RunOptions = {
root,
vuePath,
Expand Down

0 comments on commit d9b8639

Please sign in to comment.