Skip to content

ci: release 0.11.3 #185

ci: release 0.11.3

ci: release 0.11.3 #185

Workflow file for this run

name: release
on:
workflow_dispatch:
push:
branches:
- main
- "release-**"
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@ca6063f4ed81b55db15b8c42d1b6f7925866342d # v3
with:
release-type: simple
package-name: ""
default-branch: main
pull-request-title-pattern: "ci: release ${version}"
token: ${{ secrets.PAT_TOKEN }}
extra-files: |
rockcraft.yaml
internal/version/const.go
id: release
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Workaround for https://github.com/googleapis/release-please/issues/922
if: ${{ steps.release.outputs.pr != '' }}
run: |
echo "Closing and reopening PR to trigger checks"
gh pr close ${{ fromJSON(steps.release.outputs.pr).number }} || true
gh pr reopen ${{ fromJSON(steps.release.outputs.pr).number }} || true
gh pr merge --auto --merge ${{ fromJSON(steps.release.outputs.pr).number }} || true
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}