Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d5a4905fb |
@@ -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
|
||||
|
||||
Reference in new issue
Block a user