Compare commits

...
Author SHA1 Message Date
tthandClaude Opus 5.5 6d5a4905fb Release notes: a library new in the build reads "nově · new 2.1.6", a dropped one "odebrána · removed"
Changelog: -
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 17:48:52 +01:00
+7 -1
View File
@@ -81,8 +81,14 @@ for p in nordicnrf52 toolchain-gccarmnoneeabi; do
done
if git cat-file -e "$base:platformio.lock" 2>/dev/null && [ -f platformio.lock ]; then
if [ "$(git rev-parse HEAD)" = "$(git rev-parse "$sha^{commit}")" ]; then
# `name old -> new`; `-` on one side = the library was added / dropped
while IFS= read -r l; do
[ -n "$l" ] && deps+=("${l/ -> / → }")
[ -n "$l" ] || continue
case "$l" in
*" - -> "*) deps+=("${l%% - -> *} nově · *new* ${l##* -> }") ;;
*" -> -") deps+=("${l% -> -} → odebrána · *removed*") ;;
*) deps+=("${l/ -> / → }") ;;
esac
done < <(python3 tools/pio_lock.py moved --base "$base")
else
echo "release-notes: checkout is not $sha, libraries left out" >&2