File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212set -eu
1313
1414if [ " $RELEASE " = " true" ]; then
15- echo " Mirroring DuckDB release ${REF_DIR} /${ARCHIVE} "
16- curl -fSL --retry 3 -o " $ARCHIVE " \
17- " https://github.com/duckdb/duckdb/releases/download/${REF_DIR} /${ARCHIVE} "
15+ suffix=" ${ARCHIVE# libduckdb-} "
16+ suffix=" ${suffix% .zip} "
17+ upstream=" duckdb-shared-libs-${suffix} .tar.gz"
18+
19+ echo " Mirroring DuckDB release ${REF_DIR} /${upstream} as ${ARCHIVE} "
20+ curl -fSL --retry 3 -o " $upstream " \
21+ " https://github.com/duckdb/duckdb/releases/download/${REF_DIR} /${upstream} "
22+
23+ stage=" stage"
24+ mkdir -p " $stage "
25+ tar -xzf " $upstream " -C " $stage "
26+ ( cd " $stage " && zip -r " ../${ARCHIVE} " . )
1827else
1928 echo " Building DuckDB commit ${REF_DIR} from source"
2029
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const DUCKDB_RELEASES_URL: &str = "https://ci-builds.vortex.dev";
2323
2424const DUCKDB_SOURCE_RELEASE_URL : & str = "https://github.com/duckdb/duckdb/archive/refs/tags" ;
2525const DUCKDB_SOURCE_COMMIT_URL : & str = "https://github.com/duckdb/duckdb/archive" ;
26- const DEFAULT_DUCKDB_VERSION : & str = "5bf940c1318234d360aa98d476fbcd7762997c2f " ;
26+ const DEFAULT_DUCKDB_VERSION : & str = "v2.0.0 " ;
2727
2828const BUILD_ARTIFACTS : [ & str ; 3 ] = [ "libduckdb.dylib" , "libduckdb.so" , "libduckdb_static.a" ] ;
2929const BUILD_MARKER : & str = ".vx-build-complete" ;
You can’t perform that action at this time.
0 commit comments