From 8ccb23ac2195eaa6a3dcf1ae65a9dc7bac6a18a5 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 24 May 2021 21:14:49 -0700 Subject: [PATCH] Use unique name for index source file Previously, the submission list and the Library Manager index source list were both named "repositories.txt". I found having two files with similar content, but different purposes makes the already complex system unnecessarily difficult to understand. Unlike the index source list, the submission list is solely a list of repositories, so its current "repositories.txt" name is appropriate. The index source list contains other information unrelated to the library repository, so the "repositories.txt" name is not so appropriate. Since the repository is named "library-registry", the filename "registry.txt" makes sense. --- .github/workflows/manage-prs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/manage-prs.yml b/.github/workflows/manage-prs.yml index 5d102b49..500a39cb 100644 --- a/.github/workflows/manage-prs.yml +++ b/.github/workflows/manage-prs.yml @@ -360,7 +360,7 @@ jobs: - name: Add index source file entry for submissions run: | - INDEX_SOURCE_FILE_PATH="${{ github.workspace }}/repositories.txt" + INDEX_SOURCE_FILE_PATH="${{ github.workspace }}/registry.txt" git config --global user.email "bot@arduino.cc" git config --global user.name "ArduinoBot" echo "${{ needs.parse.outputs.index-entry }}" >> "$INDEX_SOURCE_FILE_PATH"