Merge branch 'release/1.2.1' into main
This commit is contained in:
commit
c81b7e4185
3 changed files with 4 additions and 3 deletions
2
Makefile
2
Makefile
|
|
@ -1,5 +1,5 @@
|
|||
# =============================================================================
|
||||
# Knowledge Genome - Makefile v. 1.2.0
|
||||
# Knowledge Genome - Makefile v. 1.2.1
|
||||
# Orchestrates the setup and management of the knowledge base.
|
||||
# =============================================================================
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ provider_create_repo() {
|
|||
local name="$1"
|
||||
local desc="$2"
|
||||
local private="$3"
|
||||
local auto_init="${4:-false}" # genomi: true (submodule add esige un branch). master: false (git init locale + push).
|
||||
|
||||
local http_code
|
||||
http_code=$(curl -s -o /dev/null -w "%{http_code}" \
|
||||
|
|
@ -25,7 +26,7 @@ provider_create_repo() {
|
|||
\"name\": \"${name}\",
|
||||
\"description\": \"${desc}\",
|
||||
\"private\": ${private},
|
||||
\"auto_init\": false
|
||||
\"auto_init\": ${auto_init}
|
||||
}")
|
||||
|
||||
case "$http_code" in
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ for entry in "${GENOMES[@]}"; do
|
|||
info "Processing: ${GENOME_NAME} (cross_source: ${GENOME_CROSS_SOURCE})..."
|
||||
|
||||
# 1. Remote Creation (Idempotent)
|
||||
provider_create_repo "${GENOME_NAME}" "${GENOME_DESC}" "true"
|
||||
provider_create_repo "${GENOME_NAME}" "${GENOME_DESC}" "true" "true"
|
||||
SSH_URL=$(provider_ssh_url "${GENOME_NAME}")
|
||||
|
||||
GENOME_PATH="${WORK_DIR}/${MASTER_REPO}/${GENOME_NAME}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue