8000 docs: updating for packaging and package updating by samrose · Pull Request #1157 · supabase/postgres · GitHub
[go: up one dir, main page]

Skip to content

docs: updating for packaging and package updating #1157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update nix/docs/update-extension.md
Co-authored-by: Bobbie Soedirgo <31685197+soedirgo@users.noreply.github.com>
  • Loading branch information
samrose and soedirgo authored Aug 23, 2024
commit 7dd2705f0fb7cf908737302d9968e6ecf0fdc5a5
2 changes: 1 addition & 1 deletion nix/docs/update-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
1. Create a branch off of `develop`
2. For instance, if we were updating https://github.com/supabase/postgres/blob/develop/nix/ext/supautils.nix we would:
1. change the `version = "2.2.1";` to whatever our git tag release version is that we want to update to
2. temporarily empty the `hash = "sha256-wSUEG0at00TPAoHv6+NMzuUE8mfW6fnHH0MNxvBdUiE=";` to `hash = "";` and save https://github.com/supabase/postgres/blob/develop/nix/ext/supautils.nix and `git add https://github.com/supabase/postgres/blob/develop/nix/ext/supautils.nix`
2. temporarily empty the `hash = "sha256-wSUEG0at00TPAoHv6+NMzuUE8mfW6fnHH0MNxvBdUiE=";` to `hash = "";` and save `supautils.nix` and `git add .`
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.
4. Add any needed migrations into the `supabase/postgres` migrations directory
5. You can then run tests locally to verify that the update of the package succeeded.
Expand Down
Loading
0