Skip to content

Commit

Permalink
#408 #140 release file removal shouldn't happen on dry runs
Browse files Browse the repository at this point in the history
  • Loading branch information
ecwood committed Sep 9, 2024
1 parent e6fbe9f commit 8a25208
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 @@ -157,12 +157,12 @@ then
${s3_cp_cmd} ${kg2_version_file_local} s3://${s3_bucket_public}/${kg2_version_file}
fi

if [[ -f ${trigger_file_is_major_release} ]]
if [[ "${test_flag}" != "test" && "${dryrun}" != "-n" && -f ${trigger_file_is_major_release} ]]
then
rm -f ${trigger_file_is_major_release}
fi

if [[ -f ${trigger_file_is_minor_release} ]]
if [[ "${test_flag}" != "test" && "${dryrun}" != "-n" && -f ${trigger_file_is_minor_release} ]]
then
rm -f ${trigger_file_is_minor_release}
fi
Expand Down

0 comments on commit 8a25208

Please sign in to comment.