From c07713dc3697b70df5388d480e18728d72a5fbf8 Mon Sep 17 00:00:00 2001 From: ecwood Date: Sun, 8 Sep 2024 19:16:21 -0700 Subject: [PATCH] #408 #140 still increment for dry run --- build/build-kg2-snakemake.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build-kg2-snakemake.sh b/build/build-kg2-snakemake.sh index 6ac17b55..34c3dfea 100755 --- a/build/build-kg2-snakemake.sh +++ b/build/build-kg2-snakemake.sh @@ -68,7 +68,7 @@ trigger_file_is_major_release=${BUILD_DIR}/major-release trigger_file_is_minor_release=${BUILD_DIR}/minor-release increment_flag='' -if [[ "${test_flag}" == "test" || "${dryrun}" == "-n" ]] +if [[ "${test_flag}" == "test" ]] then increment_flag='' else @@ -152,7 +152,7 @@ fi cd ~ && ${VENV_DIR}/bin/snakemake --snakefile ${snakefile} ${run_flag} -R Finish -j 16 ${dryrun} ${graphic} -if [[ "${ci_flag}" != "ci" ]] +if [[ "${test_flag}" != "test" && "${dryrun}" != "-n" && "${ci_flag}" != "ci" ]] then ${s3_cp_cmd} ${kg2_version_file_local} s3://${s3_bucket_public}/${kg2_version_file} fi