Skip to content

Commit

Permalink
add support for pgrx 0.12.[2, 3, 4] (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend authored Sep 20, 2024
1 parent acc2c75 commit fef372f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/builder-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- "0.11.4"
- "0.12.0"
- "0.12.1"
- "0.12.2"
- "0.12.3"
- "0.12.4"
exclude:
- pg_version: "16"
pgrx_version: "0.7.4"
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pg-trunk"
version = "0.12.27"
version = "0.12.28"
edition = "2021"
authors = ["Steven Miller", "Ian Stanton", "Vinícius Miguel"]
description = "A package manager for PostgreSQL extensions"
Expand Down
5 changes: 3 additions & 2 deletions cli/src/commands/pgrx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ pub enum PgrxBuildError {

fn semver_from_range(pgrx_range: &str) -> Result<String, PgrxBuildError> {
let versions = [
"0.12.0", "0.12.1", "0.11.4", "0.11.3", "0.11.2", "0.11.1", "0.11.0", "0.10.2", "0.10.1",
"0.10.0", "0.9.8", "0.9.7", "0.9.1", "0.9.0", "0.8.4", "0.8.3", "0.8.0", "0.7.4",
"0.12.4", "0.12.3", "0.12.2", "0.12.1", "0.12.0", "0.11.4", "0.11.3", "0.11.2", "0.11.1",
"0.11.0", "0.10.2", "0.10.1", "0.10.0", "0.9.8", "0.9.7", "0.9.1", "0.9.0", "0.8.4",
"0.8.3", "0.8.0", "0.7.4",
];

if versions.contains(&pgrx_range) {
Expand Down

0 comments on commit fef372f

Please sign in to comment.