Skip to content

Commit 5a1d9d6

Browse files
authored
Merge branch 'master' into geo-charts
2 parents ce8b49a + e4d6f74 commit 5a1d9d6

6 files changed

Lines changed: 9 additions & 8 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22

33
orbs:
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

66
parameters:
77
browserstack-force:
@@ -57,6 +57,7 @@ default-job: &default-job
5757
BASE_BRANCH: master
5858
working_directory: /tmp/mui
5959
executor: code-infra/mui-node
60+
resource_class: medium
6061
# CircleCI has disabled the cache across forks for security reasons.
6162
# Following their official statement, it was a quick solution, they
6263
# are working on providing this feature back with appropriate security measures.
@@ -276,7 +277,6 @@ jobs:
276277
executor:
277278
name: code-infra/mui-node-browser
278279
playwright-img-version: v1.60.0-noble
279-
resource_class: medium
280280
steps:
281281
- checkout
282282
- run:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
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'

.github/workflows/l10n.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
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

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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

scripts/changelogUtils.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

scripts/createReleasePR.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)