Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a4feb6c

Browse files
Merge pull request #11850 from espressif/feature/issue_update_version
change(script): Update the issue template when version changed
2 parents 0b16221 + af2c581 commit a4feb6c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎.github/scripts/update-version.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ fi
3434
echo "New Arduino Version: $ESP_ARDUINO_VERSION"
3535
echo "ESP-IDF Version: $ESP_IDF_VERSION"
3636

37+
echo "Updating issue template..."
38+
cat .github/ISSUE_TEMPLATE/Issue-report.yml | \
39+
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
40+
3741
echo "Updating platform.txt..."
3842
cat platform.txt | sed "s/version=.*/version=$ESP_ARDUINO_VERSION/g" > __platform.txt && mv __platform.txt platform.txt
3943

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /