diff --git a/.github/workflows/release-patch.yaml b/.github/workflows/release-patch.yaml index 28415ac723..9d89e25623 100644 --- a/.github/workflows/release-patch.yaml +++ b/.github/workflows/release-patch.yaml @@ -28,15 +28,14 @@ jobs: - name: Configure release-please for patch releases shell: bash - run: | - jq '.packages["."] |= (.versioning = "always-bump-patch" | .["skip-changelog"] = true)' release-please-config.json > rp.tmp - mv rp.tmp release-please-config.json + run: jq '.packages["."] |= (.versioning = "always-bump-patch" | .["skip-changelog"] = true)' release-please-config.json > release-please-config.patch.json - name: Create release tag id: tag uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0 with: target-branch: ${{ github.ref_name }} + config-file: release-please-config.patch.json - id: release-flag run: echo "release_created=${{ steps.tag.outputs.release_created || false }}" >> $GITHUB_OUTPUT