Skip to content

Commit

Permalink
[#1370] Added footer note to the consumer README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Aug 28, 2024
1 parent ad69594 commit 7a9b694
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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_

1 comment on commit 7a9b694

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.