-
-
Notifications
You must be signed in to change notification settings - Fork 247
/
publish.sh
executable file
·46 lines (41 loc) · 1.28 KB
/
publish.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#! /bin/sh
#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
#LICENSE
#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
#LICENSE
#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <[email protected]>
#LICENSE
#LICENSE All rights reserved.
#LICENSE
#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
DIR=`pwd`
set -x
# dependency graph, from roots to facades
#
# pgrx-pg-config
# ├── cargo-pgrx
# ├── pgrx-bindgen
# │ [build-dependencies]
# │ └── pgrx-pg-sys
# │ └── pgrx
# │ └── pgrx-tests
# └── pgrx-tests
#
# pgrx-sql-entity-graph
# ├── cargo-pgrx
# ├── pgrx
# │ └── pgrx-tests
# ├── pgrx-macros
# │ ├── pgrx
# │ ├── pgrx-pg-sys
# │ │ └── pgrx
# │ └── pgrx-tests
# └── pgrx-pg-sys
cd $DIR/pgrx-pg-config && cargo publish
cd $DIR/pgrx-bindgen && cargo publish
cd $DIR/pgrx-sql-entity-graph && cargo publish
cd $DIR/pgrx-macros && cargo publish
cd $DIR/pgrx-pg-sys && cargo publish --no-verify
cd $DIR/pgrx && cargo publish --no-verify
cd $DIR/pgrx-tests && cargo publish --no-verify
cd $DIR/cargo-pgrx && cargo publish # cargo-pgrx last so the templates are correct