diff --git a/Cargo.lock b/Cargo.lock index 3c013fa..49f44bb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1258,7 +1258,7 @@ dependencies = [ [[package]] name = "pg_smtp_client" -version = "0.1.0" +version = "0.1.1" dependencies = [ "lettre", "pgrx", diff --git a/Cargo.toml b/Cargo.toml index 3eb3e4d..bde9b78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pg_smtp_client" -version = "0.1.0" +version = "0.1.1" edition = "2021" publish = false diff --git a/Makefile b/Makefile index 9b37993..047d7a1 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,8 @@ clean: .PHONY: init init: - @cargo install --locked cargo-pgrx - @cargo pgrx init --pg$(PG_VERSION) download + @cargo install --locked cargo-pgrx@0.11.4 + @if ! cargo pgrx info version pg$(PG_VERSION) >/dev/null 2>1; then cargo pgrx init --pg$(PG_VERSION) download; else echo "pg$(PG_VERSION) already installed"; fi .PHONY: lint lint: