Skip to content

Commit

Permalink
#408 #140 still increment for dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
ecwood committed Sep 9, 2024
1 parent 8a25208 commit c07713d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/build-kg2-snakemake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c07713d

Please sign in to comment.