feat: Automatically commit submodule additions in setup

This commit is contained in:
Matteo Cherubini 2026-05-10 10:10:23 +02:00
parent 8f8a4c4711
commit 67a0794e69

View file

@ -49,12 +49,14 @@ for entry in "${GENOMES[@]}"; do
git commit -m "feat: initial scaffold and git-crypt init for ${GENOME_NAME}"
git push -u origin main
# Key export and instructions (Fix Obs B)
# Key export and instructions
gcrypt_export_key "${GENOME_NAME}"
gcrypt_print_key_instructions "${GENOME_NAME}"
# Return to master to consolidate the submodule addition
# Commit the submodule reference in the master repo
cd "${WORK_DIR}/${MASTER_REPO}"
git commit -m "feat: add ${GENOME_NAME} as submodule"
git push origin main
fi
done