Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/Issue-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ body:
- latest development Release Candidate (RC-X)
- latest master (checkout manually)
- v3.3.2
- v3.3.2
- v3.3.1
- v3.3.0
- v3.2.1
Expand Down
3 changes: 2 additions & 1 deletion .github/scripts/on-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,8 @@ echo
echo "Updating libs URLs in JSON template ..."

# Update all libs URLs in the JSON template
libs_jq_arg="(.packages[0].tools[] | select(.name == \"esp32-arduino-libs\") | .systems[].url) = \"$LIBS_ZIP_URL\""
libs_jq_arg="(.packages[0].tools[] | select(.name == \"esp32-arduino-libs\") | .systems[].url) = \"$LIBS_ZIP_URL\" |\
(.packages[0].tools[] | select(.name == \"esp32-arduino-libs\") | .systems[].archiveFileName) = \"$LIBS_ZIP\""

cat "$PACKAGE_JSON_TEMPLATE" | jq "$libs_jq_arg" > "$OUTPUT_DIR/package-libs-updated.json"
PACKAGE_JSON_TEMPLATE="$OUTPUT_DIR/package-libs-updated.json"
Expand Down
9 changes: 7 additions & 2 deletions .github/scripts/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,13 @@ 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
if ! grep -q "v$ESP_ARDUINO_VERSION" .github/ISSUE_TEMPLATE/Issue-report.yml; then
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 "Issue template updated with version v$ESP_ARDUINO_VERSION"
else
echo "Version v$ESP_ARDUINO_VERSION already exists in issue template, skipping update"
fi

echo "Updating GitLab variables..."
cat .gitlab/workflows/common.yml | \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload-idf-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:
submodules: "recursive"

- name: Upload components to the component registry
uses: espressif/upload-components-ci-action@b78a19fa5424714997596d3ecffa634aef8ae20b # v1.0.5
uses: espressif/upload-components-ci-action@df9e740b912c009996df639ba7090c24e9a542c2 # v2.2.0
with:
name: arduino-esp32
components: "arduino-esp32: ." # component_name: directory
version: ${{ env.RELEASE_TAG }}
namespace: espressif
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}