Skip to content

Commit 713ffbf

Browse files
authored
Merge pull request #4 from ceolin/v2.10.4
Update TF-A to V2.10.4
2 parents 421dc05 + e4d6544 commit 713ffbf

File tree

1,112 files changed

+50452
-22801
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,112 files changed

+50452
-22801
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ tools/renesas/rzg_layout_create/*.map
2222
tools/renesas/rzg_layout_create/*.elf
2323
tools/fiptool/fiptool
2424
tools/fiptool/fiptool.exe
25+
tools/memory/memory/__pycache__/
2526
tools/cert_create/src/*.o
2627
tools/cert_create/src/**/*.o
2728
tools/cert_create/cert_create

.readthedocs.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ build:
1515
python: "3.10"
1616
apt_packages:
1717
- plantuml
18+
- librsvg2-bin
1819
jobs:
1920
post_create_environment:
2021
- pip install poetry=="1.3.2"
@@ -24,3 +25,8 @@ build:
2425

2526
sphinx:
2627
configuration: docs/conf.py
28+
29+
# Auxiliary formats to export to (in addition to the default HTML output).
30+
formats:
31+
- pdf
32+

.versionrc.js

+26-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021-2023, Arm Limited. All rights reserved.
2+
* Copyright (c) 2021-2024, Arm Limited. All rights reserved.
33
*
44
* SPDX-License-Identifier: BSD-3-Clause
55
*/
@@ -84,23 +84,41 @@ module.exports = {
8484
"filename": "pyproject.toml",
8585
"updater": {
8686
"readVersion": function (contents) {
87-
const _ver = contents.match(/version\s=.*"(\d)\.(\d)\.(\d)/);
87+
const _ver = contents.match(/version\s=.*"(\d+?)\.(\d+?)\.(\d+?)/);
8888

89-
return `${_ver[1]}.${_ver[2]}.${_ver[2]}`;
89+
return `${_ver[1]}.${_ver[2]}.${_ver[3]}`;
9090
},
9191

9292
"writeVersion": function (contents, version) {
9393
const _ver = 'version = "' + version + '"'
9494

9595
return contents.replace(/^(version\s=\s")((\d).?)*$/m, _ver)
9696
}
97-
9897
},
9998
},
10099
{
101100
"filename": "package-lock.json",
102101
"type": "json"
103102
},
103+
{
104+
"filename": "docs/conf.py",
105+
"updater": {
106+
"readVersion": function (contents) {
107+
const _ver = contents.match(/version\s=.*"(\d+?)\.(\d+?)\.(\d+?)/);
108+
109+
return `${_ver[1]}.${_ver[2]}.${_ver[3]}`;
110+
},
111+
112+
"writeVersion": function (contents, version) {
113+
const _ver = 'version = "' + version + '"'
114+
const _rel = 'release = "' + version + '"'
115+
116+
contents = contents.replace(/^(version\s=\s")((\d).?)*$/m, _ver)
117+
contents = contents.replace(/^(release\s=\s")((\d).?)*$/m, _rel)
118+
return contents
119+
}
120+
},
121+
},
104122
{
105123
"filename": "tools/conventional-changelog-tf-a/package.json",
106124
"type": "json"
@@ -111,16 +129,19 @@ module.exports = {
111129
"readVersion": function (contents) {
112130
const major = contents.match(/^VERSION_MAJOR\s*:=\s*(\d+?)$/m)[1];
113131
const minor = contents.match(/^VERSION_MINOR\s*:=\s*(\d+?)$/m)[1];
132+
const patch = contents.match(/^VERSION_PATCH\s*:=\s*(\d+?)$/m)[1];
114133

115-
return `${major}.${minor}.0`;
134+
return `${major}.${minor}.${patch}`;
116135
},
117136

118137
"writeVersion": function (contents, version) {
119138
const major = version.split(".")[0];
120139
const minor = version.split(".")[1];
140+
const patch = version.split(".")[2];
121141

122142
contents = contents.replace(/^(VERSION_MAJOR\s*:=\s*)(\d+?)$/m, `$1${major}`);
123143
contents = contents.replace(/^(VERSION_MINOR\s*:=\s*)(\d+?)$/m, `$1${minor}`);
144+
contents = contents.replace(/^(VERSION_PATCH\s*:=\s*)(\d+?)$/m, `$1${patch}`);
124145

125146
return contents;
126147
}

0 commit comments

Comments
 (0)