Commit 56904bdb authored by Fedor Batonogov's avatar Fedor Batonogov
Browse files

ci: add Release Please for automated releases

Replace manual GitHub Release workflow with Release Please.
Publish workflows now trigger only on tags, avoiding duplicate builds on main.
parent 54677cb4
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -9,11 +9,6 @@ on:
  push:
    tags:
      - v*.*.*
    branches:
      - main
  pull_request:
    branches:
      - main

env:
  # Use docker.io for Docker Hub if empty
+0 −2
Original line number Diff line number Diff line
@@ -4,8 +4,6 @@ on:
  push:
    tags:
      - v*.*.*
    branches:
      - main

jobs:
  docker:
+0 −2
Original line number Diff line number Diff line
@@ -4,8 +4,6 @@ on:
  push:
    tags:
      - v*.*.*
    branches:
      - main

jobs:
  docker:
+20 −0
Original line number Diff line number Diff line
name: Release Please

on:
  push:
    branches:
      - main

permissions:
  contents: write
  pull-requests: write

jobs:
  release-please:
    runs-on: ubuntu-latest
    steps:
      - name: Release Please
        uses: googleapis/release-please-action@v4
        with:
          config-file: release-please-config.json
          manifest-file: .release-please-manifest.json
+3 −0
Original line number Diff line number Diff line
{
  ".": "5.0.0"
}
Loading