diff options
| author | Frédéric Desbiens <[email protected]> | 2026-06-08 10:03:52 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-06-08 10:03:52 +0200 |
| commit | 1a0e9e43a03e37ddecfb6b49e9b078d6e1803d05 (patch) | |
| tree | c60ec41b4ff4fd2d7566c505cbdd423ceddd65f3 /scripts/submodule_set_release.sh | |
| parent | 8b6e03ac30ab688bec02c69d42f2304b7f72a202 (diff) | |
| parent | 4d88828b06d164a5b7e82152395a92254abcd6e4 (diff) | |
Merge pull request #391 from eclipse-threadx/devv6.5.1.202602_reldev
Merging changes for the v.6.5.1.202602 release
Diffstat (limited to 'scripts/submodule_set_release.sh')
| -rwxr-xr-x | scripts/submodule_set_release.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/scripts/submodule_set_release.sh b/scripts/submodule_set_release.sh new file mode 100755 index 00000000..c48a6b93 --- /dev/null +++ b/scripts/submodule_set_release.sh @@ -0,0 +1,29 @@ +#!/bin/bash +# SPDX-License-Identifier: MIT +# Copyright (c) 2026 Eclipse ThreadX Contributors +# Some portions generated by Copilot (claude-sonnet-4.6). +# +# Update test submodules to the latest commit on their release branch (master). +# Run this on release day after dev has been merged to master. + +set -euo pipefail + +REPO_ROOT="$(dirname "$(realpath "$0")")/.." +SUBMODULES=( + "test/cmake/filex" + "test/cmake/threadx" +) +RELEASE_BRANCH="master" + +cd "$REPO_ROOT" + +for sub in "${SUBMODULES[@]}"; do + echo "Updating $sub to origin/$RELEASE_BRANCH..." + git -C "$sub" fetch origin "$RELEASE_BRANCH" + git -C "$sub" checkout "origin/$RELEASE_BRANCH" +done + +git add "${SUBMODULES[@]}" +echo "" +echo "Submodules updated. Review with 'git diff --cached', then commit:" +echo " git commit -m \"chore: update submodules to latest release commits\"" |
