diff --git a/README.md b/README.md index c34062f2d..df5bf93d9 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,44 @@ To learn more, refer to our [main repo ยป](https://github.com/elementary-data/el Add to your `packages.yml` according to your dbt version: -```yml +**For dbt >1.3.0:** + +```yml packages.yml packages: - package: elementary-data/elementary - version: 0.6.5 + version: 0.6.6 ## Docs: https://docs.elementary-data.com ``` +**For dbt >=1.2.0, <1.3.0:** + +```yml packages.yml +packages: + - package: elementary-data/elementary + version: 0.6.6 + ## Docs: https://docs.elementary-data.com + + ## !! Important !! For dbt >=1.2.0 \<1.3.0 ## + ## (Prevents dbt_utils versions exceptions) ## + - package: dbt-labs/dbt_utils + version: [">=0.8.0", "<1.0.0"] +``` + +**For dbt >=1.0.0, <1.2.0:** + +```yml packages.yml +packages: + - package: elementary-data/elementary + version: 0.6.6 + ## Docs: https://docs.elementary-data.com + + ## !! Important !! For dbt <1.2.0 ## + ## (Prevents dbt_utils versions exceptions) ## + - package: dbt-labs/dbt_utils + version: [">=0.8.0", "<0.9.0"] +``` + + After adding to `packages.yml` and running `dbt deps`, add to your ```dbt_project.yml```: ```yml models: diff --git a/dbt_project.yml b/dbt_project.yml index df8ec6f8b..e292425be 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,5 +1,5 @@ name: "elementary" -version: "0.6.5" +version: "0.6.6" require-dbt-version: [ ">=1.0.0", "<2.0.0" ]