diff --git a/.github/scripts/update_dev_dependency_branches.sh b/.github/scripts/update_dev_dependency_branches.sh index 9385cf885..603dec17b 100755 --- a/.github/scripts/update_dev_dependency_branches.sh +++ b/.github/scripts/update_dev_dependency_branches.sh @@ -8,14 +8,17 @@ dbt_common_branch=$3 target_req_file="hatch.toml" core_req_sed_pattern="s|dbt-core.git.*#subdirectory=core|dbt-core.git@${dbt_core_branch}#subdirectory=core|g" adapters_req_sed_pattern="s|dbt-adapters.git|dbt-adapters.git@${dbt_adapters_branch}|g" +tests_req_sed_pattern="s|dbt-adapters.git.*#subdirectory=dbt-tests-adapter|dbt-adapters.git@${dbt_adapters_branch}#subdirectory=dbt-tests-adapter|g" common_req_sed_pattern="s|dbt-common.git|dbt-common.git@${dbt_common_branch}|g" if [[ "$OSTYPE" == darwin* ]]; then # mac ships with a different version of sed that requires a delimiter arg sed -i "" "$adapters_req_sed_pattern" $target_req_file + sed -i "" "$tests_req_sed_pattern" $target_req_file sed -i "" "$core_req_sed_pattern" $target_req_file sed -i "" "$common_req_sed_pattern" $target_req_file else sed -i "$adapters_req_sed_pattern" $target_req_file + sed -i "$tests_req_sed_pattern" $target_req_file sed -i "$core_req_sed_pattern" $target_req_file sed -i "$common_req_sed_pattern" $target_req_file fi