Skip to content

Commit

Permalink
add support up to pgrx 0.12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend committed Sep 20, 2024
1 parent acc2c75 commit d926e3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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
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.0", "0.12.1", "0.12.2", "0.12.3", "0.12.4", "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 d926e3e

Please sign in to comment.