diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index f7dd3f0..a5f8211 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -39,9 +39,6 @@ jobs: path: ./manifest.yaml # TODO: remove bump-minor-pre-major when in production. It prevents # release-please from bumping the major version on breaking changes. - # TODO: remove release-as after first release. Used to set the first - # release version, which would default to 1.0.0. Set the version - # manually also for 1.0.0. # We use a GitHub token with write permissions to create the release, # otherwise we won't be able to trigger a new run when pushing on main. - name: Run release-please diff --git a/README.md b/README.md index 0d9a517..27f8af1 100644 --- a/README.md +++ b/README.md @@ -105,10 +105,12 @@ Both checks are necessary to proceed with the installation. Use `kubectl` to apply the manifest for the latest commit in the `main` branch: +<!-- x-release-please-start-version --> ```sh kubectl apply -f \ https://github.com/cloudnative-pg/plugin-barman-cloud/releases/download/v0.1.0/manifest.yaml ``` +<!-- x-release-please-end --> Example output: diff --git a/release-please-config.json b/release-please-config.json index 5eb74c9..4a46576 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -4,12 +4,14 @@ "bump-minor-pre-major": true, "bump-patch-for-minor-pre-major": false, "draft": false, + "extra-files": [ + "README.md" + ], "prerelease": false, "packages": { ".": {} }, "plugins": [ "sentence-case" ], - "release-as": "0.1.0", "signoff": "Peggie <info@cloudnative-pg.io>", "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" }