From 6c6fdc0a7a92b0de97c3941fc8b894289749bc4c Mon Sep 17 00:00:00 2001 From: Francesco Canovai Date: Tue, 25 Mar 2025 17:21:56 +0100 Subject: [PATCH] ci: update version in metadata (#229) Fix the release-please configuration to update the version defined in the code. Closes #226 Signed-off-by: Francesco Canovai --- internal/cnpgi/metadata/constants.go | 2 +- release-please-config.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/cnpgi/metadata/constants.go b/internal/cnpgi/metadata/constants.go index 698e3a3..ddc0b2e 100644 --- a/internal/cnpgi/metadata/constants.go +++ b/internal/cnpgi/metadata/constants.go @@ -24,7 +24,7 @@ const ( // Data is the metadata of this plugin. var Data = identity.GetPluginMetadataResponse{ Name: PluginName, - Version: "0.0.1", + Version: "0.2.0", // x-release-please-version DisplayName: "BarmanCloudInstance", ProjectUrl: "https://github.com/cloudnative-pg/plugin-barman-cloud", RepositoryUrl: "https://github.com/cloudnative-pg/plugin-barman-cloud", diff --git a/release-please-config.json b/release-please-config.json index 4a46576..dbe5281 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -5,7 +5,8 @@ "bump-patch-for-minor-pre-major": false, "draft": false, "extra-files": [ - "README.md" + "README.md", + "internal/cnpgi/metadata/constants.go" ], "prerelease": false, "packages": {