Skip to content

Commit 99d7dd8

Browse files
committed
docs: flesh out the process for updating a package.
1 parent cb31a2e commit 99d7dd8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nix/docs/update-extension.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
2. temporarily empty the `hash = "sha256-wSUEG0at00TPAoHv6+NMzuUE8mfW6fnHH0MNxvBdUiE=";` to `hash = "";` and save `supautils.nix` and `git add .`
99
3. run `nix build .#psql_15/exts/supautils` or the name of the extension to update, nix will print the calculated sha256 value that you can add back the the `hash` variable, save the file again, and re-run nix build .#psql_15/exts/supautils.
1010
4. Add any needed migrations into the `supabase/postgres` migrations directory
11-
5. You can then run tests locally to verify that the update of the package succeeded.
12-
6. Now it's ready for PR review.
11+
5. update the version in `ansible/vars.yml` as usual
12+
6. You can then run the `nix flake check -L` tests locally to verify that the update of the package succeeded.
13+
7. Now it's ready for PR review.
14+
8. Once the PR is approved, if you want the change to go out in a release, update the common-nix.vars.yml file with the new version prior to merging.
1315

1416

0 commit comments

Comments
 (0)