refactor: Reorder gcrypt key export and instructions

This commit is contained in:
Matteo Cherubini 2026-06-12 16:17:19 +02:00
parent 8f2e7da157
commit a0a12cfa71

View file

@ -54,15 +54,15 @@ for entry in "${GENOMES[@]}"; do
git push -u origin main
# Key export and instructions
gcrypt_export_key "${GENOME_NAME}"
gcrypt_print_key_instructions "${GENOME_NAME}"
cd "${WORK_DIR}/${MASTER_REPO}"
git add .gitmodules "${GENOME_NAME}"
git commit -m "chore: register submodule ${GENOME_NAME}"
git push
# Key export and instructions
gcrypt_export_key "${GENOME_NAME}"
gcrypt_print_key_instructions "${GENOME_NAME}"
# Commit the submodule reference in the master repo
cd "${WORK_DIR}/${MASTER_REPO}"
git commit -m "feat: add ${GENOME_NAME} as submodule"