From 5effd6fbf2d8cfce992460ee1ca92d594ab521f0 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Wed, 17 Sep 2025 14:19:50 +0300 Subject: [PATCH 1/2] change(script): Update the issue template when version changed --- .github/scripts/update-version.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/scripts/update-version.sh b/.github/scripts/update-version.sh index c4ad4eec06f..cdb7f1cdc9b 100755 --- a/.github/scripts/update-version.sh +++ b/.github/scripts/update-version.sh @@ -34,6 +34,10 @@ fi echo "New Arduino Version: $ESP_ARDUINO_VERSION" echo "ESP-IDF Version: $ESP_IDF_VERSION" +echo "Updating issue template..." +cat .github/ISSUE_TEMPLATE/issue-report.yml | \ +sed "s/.*\- latest master .*/ - latest master \(checkout manually\)\\n - v$ESP_ARDUINO_VERSION/g" > __issue-report.yml && mv __issue-report.yml .github/ISSUE_TEMPLATE/issue-report.yml + echo "Updating platform.txt..." cat platform.txt | sed "s/version=.*/version=$ESP_ARDUINO_VERSION/g" > __platform.txt && mv __platform.txt platform.txt From af2c581a739c9ef7a5ca939fcb0558a38677a105 Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Wed, 17 Sep 2025 16:06:15 +0300 Subject: [PATCH 2/2] fix(script): Update .github/scripts/update-version.sh Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com> --- .github/scripts/update-version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/update-version.sh b/.github/scripts/update-version.sh index cdb7f1cdc9b..377853003eb 100755 --- a/.github/scripts/update-version.sh +++ b/.github/scripts/update-version.sh @@ -35,8 +35,8 @@ echo "New Arduino Version: $ESP_ARDUINO_VERSION" echo "ESP-IDF Version: $ESP_IDF_VERSION" echo "Updating issue template..." -cat .github/ISSUE_TEMPLATE/issue-report.yml | \ -sed "s/.*\- latest master .*/ - latest master \(checkout manually\)\\n - v$ESP_ARDUINO_VERSION/g" > __issue-report.yml && mv __issue-report.yml .github/ISSUE_TEMPLATE/issue-report.yml +cat .github/ISSUE_TEMPLATE/Issue-report.yml | \ +sed "s/.*\- latest master .*/ - latest master \(checkout manually\)\\n - v$ESP_ARDUINO_VERSION/g" > __issue-report.yml && mv __issue-report.yml .github/ISSUE_TEMPLATE/Issue-report.yml echo "Updating platform.txt..." cat platform.txt | sed "s/version=.*/version=$ESP_ARDUINO_VERSION/g" > __platform.txt && mv __platform.txt platform.txt