Skip to content

Commit

Permalink
Updated instructions for packages.yml
Browse files Browse the repository at this point in the history
The package has been submitted to the dbt Hub and I am updating the instructions in anticipation
  • Loading branch information
sfc-gh-dflippo authored May 2, 2022
1 parent 5bd84d2 commit 6c9fca6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
# <see https://github.com/Snowflake-Labs/dbt_constraints/releases/latest> 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`.
Expand Down

0 comments on commit 6c9fca6

Please sign in to comment.