Skip to content

Commit

Permalink
Update pre_buildspec.yml.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
Eli-Meitner committed Feb 22, 2022
1 parent dc63a51 commit 458322f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/pre_buildspec.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ phases:
- PR_NUMBER=$(cat pr.txt)
- SRC_CHANGED=$(cat src_changed.txt)
- |
if [ "${PIPELINE_TYPE}" == "cd"] || [[ "$SRC_CHANGED" == "false" ] && [ "${PIPELINE_TYPE}" != "cd" ]];then
if [ "${PIPELINE_TYPE}" == "cd"] || [[ "$SRC_CHANGED" == "false" && "${PIPELINE_TYPE}" != "cd" ]];then
export FROM_ENV="${FROM_ENV}"
else
export FROM_ENV=$(cat new_version.txt)
Expand Down

0 comments on commit 458322f

Please sign in to comment.