Commit 5a8f592
authored
Updates plrust/build to programmatically get pgrx version (#381)
Addresses: #377
When plrust goes through a release cycle, occasionally (read: pretty
much "almost" every time) we forget to update the hard-coded pgrx
version in the `plrust/build` script due to the fact that our automated
release tooling does not consider nor modify the script file. With the
changes in this PR, we programmatically get the pgrx version using
`cargo tree` and some unix utils magic so that nobody has to think about
updating that value ever again upon release.1 parent 3725747 commit 5a8f592
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| |||
0 commit comments