forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit01df147
committed
Allow selecting the git revision to be packaged by "make dist".
Commit619bc23 changed "make dist" to invoke "git archive",but hard-wired the call to specify that the HEAD revision shouldbe packaged. Our tarball building process needs to be able tospecify which git commit to package (notably, for packagingback branches). While we could make that work with some hackeryto operate in detached-HEAD state, it's a lot nicer just to exposegit archive's ability to specify what to package. Hence, inventa new make variable PG_GIT_REVISION. This is undocumented, butso is "make dist".Also make corresponding changes in the meson scripts. We have nonear-term intention of using that for package building, but itwill likely happen eventually, so stay prepared.Discussion:https://postgr.es/m/3552543.1713909947@sss.pgh.pa.us1 parenta42fc1c commit01df147
3 files changed
+12
-4
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| 90 | + | |
| 91 | + | |
| 92 | + | |
90 | 93 |
| |
91 | 94 |
| |
92 | 95 |
| |
| |||
102 | 105 |
| |
103 | 106 |
| |
104 | 107 |
| |
105 |
| - | |
| 108 | + | |
106 | 109 |
| |
107 | 110 |
| |
108 |
| - | |
| 111 | + | |
109 | 112 |
| |
110 | 113 |
| |
111 | 114 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3469 | 3469 |
| |
3470 | 3470 |
| |
3471 | 3471 |
| |
| 3472 | + | |
| 3473 | + | |
3472 | 3474 |
| |
3473 | 3475 |
| |
3474 | 3476 |
| |
| |||
3483 | 3485 |
| |
3484 | 3486 |
| |
3485 | 3487 |
| |
3486 |
| - | |
| 3488 | + | |
3487 | 3489 |
| |
3488 | 3490 |
| |
3489 | 3491 |
| |
| |||
3497 | 3499 |
| |
3498 | 3500 |
| |
3499 | 3501 |
| |
3500 |
| - | |
| 3502 | + | |
3501 | 3503 |
| |
3502 | 3504 |
| |
3503 | 3505 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 |
| |
59 | 62 |
| |
60 | 63 |
| |
|
0 commit comments
Comments
(0)