From 7a9b6941fa62c6a2f5cee34c84c5332fe660f32a Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Thu, 29 Aug 2024 07:47:08 +1000 Subject: [PATCH] [#1370] Added footer note to the consumer `README.md`. --- .scaffold/tests/bats/_helper.bash | 5 ++++- README.dist.md | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.scaffold/tests/bats/_helper.bash b/.scaffold/tests/bats/_helper.bash index 2c40a6141..bd0ab4e63 100644 --- a/.scaffold/tests/bats/_helper.bash +++ b/.scaffold/tests/bats/_helper.bash @@ -248,12 +248,15 @@ assert_files_present_common() { # Assert that project name is correct. assert_file_contains .env "DREVOPS_PROJECT=${suffix}" - # Assert that DrevOps version was replaced. + # Assert that Scaffold version was replaced. assert_file_contains "README.md" "badge/DrevOps-${DREVOPS_VERSION:-develop}-blue.svg" assert_file_contains "README.md" "https://github.com/drevops/scaffold/tree/${DREVOPS_VERSION:-develop}" assert_file_not_contains "README.md" "The following list includes" assert_file_not_exists "README.dist.md" + # Assert that Scaffold footnote remains. + assert_file_contains "README.md" "This repository was created using the [DrevOps Scaffold](https://github.com/drevops/scaffold) project template" + assert_files_present_drupal "${dir}" "${suffix}" "${suffix_abbreviated}" "${suffix_abbreviated_camel_cased}" "${suffix_camel_cased}" "${webroot}" popd >/dev/null || exit 1 diff --git a/README.dist.md b/README.dist.md index 17b928e72..aaa9f15f8 100644 --- a/README.dist.md +++ b/README.dist.md @@ -69,3 +69,6 @@ Copy `docker-compose.override.default.yml` to `docker-compose.override.yml`. - [CI](docs/ci.md) - [Releasing](docs/releasing.md) - [Deployment](docs/deployment.md) + +--- +_This repository was created using the [DrevOps Scaffold](https://github.com/drevops/scaffold) project template_