File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11version : 2.1
22
33orbs :
4- code-infra : https://raw.githubusercontent.com/mui/mui-public/35aa25ced2bc6ff4f6c5266b073a0a725a362785 /.circleci/orbs/code-infra.yml
4+ code-infra : https://raw.githubusercontent.com/mui/mui-public/023c96ed6ca37cdb1ff687787e61257c0960285a /.circleci/orbs/code-infra.yml
55
66parameters :
77 browserstack-force :
Original file line number Diff line number Diff line change 1515 name : Continuous releases
1616 uses : mui/mui-public/.github/workflows/ci-base.yml@8b0badde3f4948db33af81129bf69b51a619aa3a # master
1717 with :
18- node-version : ' 22.18.0 '
18+ node-version : ' 22.22.3 '
Original file line number Diff line number Diff line change 2424 - name : Use Node.js 22.x
2525 uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2626 with :
27- node-version : 22.18.0
27+ node-version : ' 22.22.3 '
2828 cache : ' pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
2929 - run : pnpm install --frozen-lockfile
3030 - name : pnpm l10n --report
Original file line number Diff line number Diff line change 66 command = " pnpm docs:build"
77
88[build .environment ]
9- NODE_VERSION = " 22.18 "
9+ NODE_VERSION = " 22.22.3 "
1010 PNPM_FLAGS = " --frozen-lockfile"
1111 NODE_OPTIONS = " --max-old-space-size=6144"
1212
Original file line number Diff line number Diff line change @@ -626,10 +626,11 @@ ${logOtherSection({
626626 * Fetches and returns the latest tagged version for a given major version.
627627 * @param {string | undefined } majorVersion
628628 */
629- async function findLatestTaggedVersionForMajor ( majorVersion ) {
629+ async function findLatestTaggedVersionForMajor ( majorVersion , upstreamRemote = 'origin' ) {
630630 // Fetch all tags from all remotes to ensure we have the latest tags.
631631 await $ `git fetch --tags --all` ;
632- const { stdout } = await $ `git describe --tags --abbrev=0 --match ${ `v${ majorVersion || '' } *` } ` ; // only include "version-tags"
632+ const { stdout } =
633+ await $ `git describe --tags --abbrev=0 --match ${ `v${ majorVersion || '' } *` } ${ upstreamRemote } /v${ majorVersion } .x` ; // only include "version-tags"
633634 return stdout . trim ( ) ;
634635}
635636
Original file line number Diff line number Diff line change @@ -830,7 +830,7 @@ async function main() {
830830 // Always prompt for major version first
831831 const majorVersion = await selectMajorVersion ( latestMajorVersion ) ;
832832
833- const latestTag = await findLatestTaggedVersionForMajor ( majorVersion ) ;
833+ const latestTag = await findLatestTaggedVersionForMajor ( majorVersion , upstreamRemote ) ;
834834 const previousVersion = latestTag . startsWith ( 'v' ) ? latestTag . slice ( 1 ) : latestTag ;
835835 console . log ( `Latest tag for major version ${ majorVersion } : ${ previousVersion } ` ) ;
836836
You can’t perform that action at this time.
0 commit comments