Skip to content

Commit e5739c5

Browse files
committed
test
1 parent a30112b commit e5739c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/check-deploy-needed.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ echo "Latest IDF commit in $AR_BRANCH of $AR_REPO: $LATEST_LIBS_IDF"
5555
AR_HAS_COMMIT=`if [ "$LATEST_LIBS_IDF" == "$IDF_COMMIT" ]; then echo "1"; else echo "0"; fi`
5656
AR_HAS_PR=`github_pr_exists "$AR_REPO" "$AR_NEW_BRANCH_NAME"`
5757

58+
curl -sf -H "Authorization: token $GITHUB_TOKEN" \
59+
-H "Accept: application/vnd.github.v3+json" \
60+
"https://api.github.com/repos/$AR_LIBS_REPO/releases?per_page=1" | head -n 20
61+
62+
5863
LIBS_RELEASE_ID=`github_release_id "$AR_LIBS_REPO" "$LIBS_RELEASE_TAG" 2>&1 >/dev/null`
5964
LIBS_HAS_RELEASE=`if [ -n "$LIBS_RELEASE_ID" ]; then echo "1"; else echo "0"; fi`
6065

0 commit comments

Comments
 (0)