From 12d8e71e108b96691fac225e538e0efa88173618 Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Tue, 21 May 2024 11:47:15 +0200 Subject: [PATCH 1/2] Add version information --- src/include/quack_extension.hpp | 1 + src/quack_extension.cpp | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/src/include/quack_extension.hpp b/src/include/quack_extension.hpp index ac9f5049..494467b7 100644 --- a/src/include/quack_extension.hpp +++ b/src/include/quack_extension.hpp @@ -8,6 +8,7 @@ class QuackExtension : public Extension { public: void Load(DuckDB &db) override; std::string Name() override; + std::string Version() const override; }; } // namespace duckdb diff --git a/src/quack_extension.cpp b/src/quack_extension.cpp index 4fdad780..468b2e2b 100644 --- a/src/quack_extension.cpp +++ b/src/quack_extension.cpp @@ -51,6 +51,14 @@ std::string QuackExtension::Name() { return "quack"; } +std::string QuackExtension::Version() const { +#ifdef EXT_VERSION_QUACK + return EXT_VERSION_QUACK; +#else + return ""; +#endif +} + } // namespace duckdb extern "C" { From 883e04aad6870b91c9c8cc238010f401eaa51cf9 Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Wed, 22 May 2024 16:18:21 +0200 Subject: [PATCH 2/2] Move to duckdb v0.10.3 and extension-ci-tools v0.10.3 --- .github/workflows/MainDistributionPipeline.yml | 6 +++--- duckdb | 2 +- extension-ci-tools | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/MainDistributionPipeline.yml b/.github/workflows/MainDistributionPipeline.yml index 717c029d..38493392 100644 --- a/.github/workflows/MainDistributionPipeline.yml +++ b/.github/workflows/MainDistributionPipeline.yml @@ -14,9 +14,9 @@ concurrency: jobs: duckdb-stable-build: name: Build extension binaries - uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@v0.10.2 + uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@v0.10.3 with: - duckdb_version: v0.10.2 + duckdb_version: v0.10.3 extension_name: quack duckdb-stable-deploy: @@ -25,6 +25,6 @@ jobs: uses: ./.github/workflows/_extension_deploy.yml secrets: inherit with: - duckdb_version: v0.10.2 + duckdb_version: v0.10.3 extension_name: quack deploy_latest: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }} diff --git a/duckdb b/duckdb index 1601d94f..70fd6a8a 160000 --- a/duckdb +++ b/duckdb @@ -1 +1 @@ -Subproject commit 1601d94f94a7e0d2eb805a94803eb1e3afbbe4ed +Subproject commit 70fd6a8a2450c1e2a7d0547d4c0666a649dc378e diff --git a/extension-ci-tools b/extension-ci-tools index 54facfe2..71b8a603 160000 --- a/extension-ci-tools +++ b/extension-ci-tools @@ -1 +1 @@ -Subproject commit 54facfe2ceb9a6c3e7e12954490652a41837c2d8 +Subproject commit 71b8a603ea24b1ac8a2cff134aca28163576548f