File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 44
44
- latest development Release Candidate (RC-X)
45
45
- latest master (checkout manually)
46
46
- v3.3.2
47
- - v3.3.2
48
47
- v3.3.1
49
48
- v3.3.0
50
49
- v3.2.1
Original file line number Diff line number Diff line change 433
433
echo " Updating libs URLs in JSON template ..."
434
434
435
435
# Update all libs URLs in the JSON template
436
- libs_jq_arg=" (.packages[0].tools[] | select(.name == \" esp32-arduino-libs\" ) | .systems[].url) = \" $LIBS_ZIP_URL \" "
436
+ libs_jq_arg=" (.packages[0].tools[] | select(.name == \" esp32-arduino-libs\" ) | .systems[].url) = \" $LIBS_ZIP_URL \" |\
437
+ (.packages[0].tools[] | select(.name == \" esp32-arduino-libs\" ) | .systems[].archiveFileName) = \" $LIBS_ZIP \" "
437
438
438
439
cat " $PACKAGE_JSON_TEMPLATE " | jq " $libs_jq_arg " > " $OUTPUT_DIR /package-libs-updated.json"
439
440
PACKAGE_JSON_TEMPLATE=" $OUTPUT_DIR /package-libs-updated.json"
Original file line number Diff line number Diff line change @@ -39,8 +39,13 @@ echo "New Arduino Version: $ESP_ARDUINO_VERSION"
39
39
echo " ESP-IDF Version: $ESP_IDF_VERSION "
40
40
41
41
echo " Updating issue template..."
42
- cat .github/ISSUE_TEMPLATE/Issue-report.yml | \
43
- 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
42
+ if ! grep -q " v$ESP_ARDUINO_VERSION " .github/ISSUE_TEMPLATE/Issue-report.yml; then
43
+ cat .github/ISSUE_TEMPLATE/Issue-report.yml | \
44
+ 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
45
+ echo " Issue template updated with version v$ESP_ARDUINO_VERSION "
46
+ else
47
+ echo " Version v$ESP_ARDUINO_VERSION already exists in issue template, skipping update"
48
+ fi
44
49
45
50
echo " Updating GitLab variables..."
46
51
cat .gitlab/workflows/common.yml | \
Original file line number Diff line number Diff line change 51
51
submodules : " recursive"
52
52
53
53
- name : Upload components to the component registry
54
- uses : espressif/upload-components-ci-action@b78a19fa5424714997596d3ecffa634aef8ae20b # v1.0.5
54
+ uses : espressif/upload-components-ci-action@df9e740b912c009996df639ba7090c24e9a542c2 # v2.2.0
55
55
with :
56
- name : arduino-esp32
56
+ components : " arduino-esp32: . " # component_name: directory
57
57
version : ${{ env.RELEASE_TAG }}
58
58
namespace : espressif
59
59
api_token : ${{ secrets.IDF_COMPONENT_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments