From a0a12cfa71472befb3ba12be3fd7d1ae836c8068 Mon Sep 17 00:00:00 2001 From: Matteo Cherubini Date: Fri, 12 Jun 2026 16:17:19 +0200 Subject: [PATCH] refactor: Reorder gcrypt key export and instructions --- scripts/setup-genomes.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/setup-genomes.sh b/scripts/setup-genomes.sh index a2d8c77..4ec734b 100644 --- a/scripts/setup-genomes.sh +++ b/scripts/setup-genomes.sh @@ -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"