Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 61735646ca | |||
| 54c34b2848 | |||
| 0f912c12b2 | |||
| b225afdd1b | |||
| f0bd32450d |
@ -27,7 +27,7 @@ name = "pgrx_embed_jspg"
|
|||||||
path = "src/bin/pgrx_embed.rs"
|
path = "src/bin/pgrx_embed.rs"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
pg17 = ["pgrx/pg17", "pgrx-tests/pg17" ]
|
pg18 = ["pgrx/pg18", "pgrx-tests/pg18" ]
|
||||||
# Local feature flag used by `cargo pgrx test`
|
# Local feature flag used by `cargo pgrx test`
|
||||||
pg_test = []
|
pg_test = []
|
||||||
|
|
||||||
|
|||||||
5
flow
5
flow
@ -8,7 +8,7 @@ source ./flows/packaging
|
|||||||
source ./flows/rust
|
source ./flows/rust
|
||||||
|
|
||||||
# Vars
|
# Vars
|
||||||
POSTGRES_VERSION="17"
|
POSTGRES_VERSION="18"
|
||||||
POSTGRES_CONFIG_PATH="/opt/homebrew/opt/postgresql@${POSTGRES_VERSION}/bin/pg_config"
|
POSTGRES_CONFIG_PATH="/opt/homebrew/opt/postgresql@${POSTGRES_VERSION}/bin/pg_config"
|
||||||
DEPENDENCIES+=(icu4c pkg-config "postgresql@${POSTGRES_VERSION}")
|
DEPENDENCIES+=(icu4c pkg-config "postgresql@${POSTGRES_VERSION}")
|
||||||
CARGO_DEPENDENCIES=(cargo-pgrx==0.16.1)
|
CARGO_DEPENDENCIES=(cargo-pgrx==0.16.1)
|
||||||
@ -49,7 +49,8 @@ build() {
|
|||||||
|
|
||||||
# Create the source tarball excluding specified patterns
|
# Create the source tarball excluding specified patterns
|
||||||
info "Creating tarball: ${tarball_path}"
|
info "Creating tarball: ${tarball_path}"
|
||||||
if tar --exclude='.git*' --exclude='./target' --exclude='./package' --exclude='./flows' --exclude='./flow' -czf "${tarball_path}" .; then
|
# Set COPYFILE_DISABLE=1 to prevent macOS tar from including ._ metadata files
|
||||||
|
if COPYFILE_DISABLE=1 tar --exclude='.git*' --exclude='./target' --exclude='./package' --exclude='./flows' --exclude='./flow' -czf "${tarball_path}" .; then
|
||||||
success "Successfully created source tarball: ${tarball_path}"
|
success "Successfully created source tarball: ${tarball_path}"
|
||||||
else
|
else
|
||||||
error "Failed to create source tarball."
|
error "Failed to create source tarball."
|
||||||
|
|||||||
Reference in New Issue
Block a user