From 6c9fca679eab3fcdfc8d78ff42905d654c8bc5ca Mon Sep 17 00:00:00 2001 From: Dan Flippo <81630318+danflippo@users.noreply.github.com> Date: Mon, 2 May 2022 18:01:18 -0400 Subject: [PATCH] Updated instructions for packages.yml The package has been submitted to the dbt Hub and I am updating the instructions in anticipation --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8fcb0d4..428981a 100644 --- a/README.md +++ b/README.md @@ -37,11 +37,15 @@ vars: ## Installation -1. Add this package to your `packages.yml` following [these instructions](https://docs.getdbt.com/docs/building-a-dbt-project/package-management/). If you are comfortable with testing the very latest code, the following code will pull the very latest version of the package. +1. Add this package to your `packages.yml` following [these instructions](https://docs.getdbt.com/docs/building-a-dbt-project/package-management/). Please check [this link for the latest released version](https://github.com/Snowflake-Labs/dbt_constraints/releases/latest). ```yml packages: - - git: "https://github.com/danflippo/dbt_constraints.git" - revision: main + - package: Snowflake-Labs/dbt_constraints + version: [">=0.3.0", "<0.4.0"] +# for the latest version tag. +# You can also pull the latest changes from Github with the following: +# - git: "https://github.com/Snowflake-Labs/dbt_constraints.git" +# revision: main ``` 2. Run `dbt deps`.