chore: Prevent empty commits when registering submodules
This commit is contained in:
parent
48c107e59c
commit
80c5cc753f
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ for entry in "${GENOMES[@]}"; do
|
|||
|
||||
cd "${WORK_DIR}/${MASTER_REPO}"
|
||||
git add .gitmodules "${GENOME_NAME}"
|
||||
git commit -m "chore: register submodule ${GENOME_NAME}"
|
||||
git diff --cached --quiet || git commit -m "chore: register submodule ${GENOME_NAME}"
|
||||
git push
|
||||
|
||||
# Commit the submodule reference in the master repo
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue