Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#1370] Added footer note to the consumer README.md. #1379

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .scaffold/tests/bats/_helper.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions README.dist.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_