From 912d232abda986cd1275c3037447c30c9f2f7f4d Mon Sep 17 00:00:00 2001 From: Marco Nenciarini Date: Fri, 21 Mar 2025 19:27:27 +0100 Subject: [PATCH] ci(release): fix version number in metadata Signed-off-by: Marco Nenciarini --- internal/cnpgi/metadata/constants.go | 4 +++- release-please-config.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/internal/cnpgi/metadata/constants.go b/internal/cnpgi/metadata/constants.go index 698e3a3..77cf875 100644 --- a/internal/cnpgi/metadata/constants.go +++ b/internal/cnpgi/metadata/constants.go @@ -21,10 +21,12 @@ const ( BarmanCertificatesFileName = "barman-ca.crt" ) +const Version = "0.2.0" + // Data is the metadata of this plugin. var Data = identity.GetPluginMetadataResponse{ Name: PluginName, - Version: "0.0.1", + Version: 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": {