diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5404c61..2641dd5 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -25,18 +25,18 @@ jobs: DAGGER_VERSION: 0.14.0 run: | curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh - - name: Create image and manifest - env: - REGISTRY_USER: ${{ github.actor }} - REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} - run: | - task publish - task manifest - - name: Attach manifest to workflow run - uses: actions/upload-artifact@v4 - with: - name: manifest.yaml - path: ./manifest.yaml +# - name: Create image and manifest +# env: +# REGISTRY_USER: ${{ github.actor }} +# REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} +# run: | +# task publish +# task manifest +# - name: Attach manifest to workflow run +# uses: actions/upload-artifact@v4 +# with: +# name: manifest.yaml +# 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 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: + ```sh kubectl apply -f \ https://github.com/cloudnative-pg/plugin-barman-cloud/releases/download/v0.1.0/manifest.yaml ``` + 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 ", "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" }