mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Clean tools key of obsolete version on next release (#6258)
Fixes #6068 Drop from the tools key all version:"1.20.0-26-gb404fb9" entries (which were pre-2.0.0 and whose entry in platform versions was deleted on last release).
This commit is contained in:
committed by
GitHub
parent
3cc64f7877
commit
29bedfa842
@ -156,7 +156,7 @@ new_json=package_esp8266com_index.json
|
||||
|
||||
set +e
|
||||
# Merge the old and new, then drop any obsolete package versions
|
||||
python ../../merge_packages.py $new_json $old_json | python ../../drop_versions.py - platforms 1.6.5-947-g39819f0 2.5.0-beta1 2.5.0-beta2 2.5.0-beta3 2.4.0-rc1 2.4.0-rc2 >tmp && mv tmp $new_json && rm $old_json
|
||||
python ../../merge_packages.py $new_json $old_json | python ../../drop_versions.py - tools 1.20.0-26-gb404fb9 >tmp && mv tmp $new_json && rm $old_json
|
||||
|
||||
# Verify the JSON file can be read, fail if it's not OK
|
||||
set -e
|
||||
|
Reference in New Issue
Block a user