Commit 6c43a1a
authored
Automatically set the module version based on git describe (#994)
In the last two releases I forgot to update the version number in
`PG_MODULE_MAGIC_EXT`. This stars assigning this version the value
reported by git describe. Without having committed these changes, that
looks like this:
```
> select * from pg_get_loaded_modules();
module_name │ version │ file_name
─────────────┼──────────────────────────┼──────────────
pg_duckdb │ v1.1.1-3-gc7c8fd1d-dirty │ pg_duckdb.so
```
For tagged releases it will be a plain version number, like `v1.1.2`.
Related to #9931 parent c7c8fd1 commit 6c43a1a
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
87 | 93 | | |
88 | 94 | | |
89 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| |||
0 commit comments