Skip to content

Commit

Permalink
Support pgrx v0.12.[01] in the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Aug 26, 2024
1 parent 74e0ef0 commit 3f755a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/builder-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
- "0.11.2"
- "0.11.3"
- "0.11.4"
- "0.12.0"
- "0.12.1"
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.26"
version = "0.12.27"
edition = "2021"
authors = ["Steven Miller", "Ian Stanton", "Vinícius Miguel"]
description = "A package manager for PostgreSQL extensions"
Expand Down
4 changes: 2 additions & 2 deletions cli/src/commands/pgrx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ pub enum PgrxBuildError {

fn semver_from_range(pgrx_range: &str) -> Result<String, PgrxBuildError> {
let versions = [
"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.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 3f755a2

Please sign in to comment.