We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e79d9e9 commit f5aebadCopy full SHA for f5aebad
ecosystem-ci.ts
@@ -11,6 +11,7 @@ import {
11
buildVue,
12
bisectVue,
13
parseVueVersion,
14
+ getPermanentRef,
15
} from './utils.ts'
16
import { CommandOptions, RunOptions } from './types.ts'
17
@@ -50,7 +51,12 @@ cli
50
51
)
52
}
53
} else if (options.repo === 'vuejs/core' && options.branch) {
- options.release = `@${options.branch}`
54
+ // Use the latest commit short SHA from the checked-out branch instead of the branch name
55
+ const shortSha = await getPermanentRef()
56
+ console.log(
57
+ `Using latest commit on branch '${options.branch}': ${shortSha}`,
58
+ )
59
+ options.release = `@${shortSha}`
60
61
62
0 commit comments