Skip to content

Commit

Permalink
ci(release): common release please workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Igrychev <alexey.igrychev@flant.com>
  • Loading branch information
alexey-igrychev committed Aug 4, 2022
1 parent f7e7c29 commit a247188
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 37 deletions.
Expand Up @@ -2,15 +2,22 @@ name: Do release PR or GitHub release
on:
push:
branches:
- 1.1
- "main"
- "[0-9]+.[0-9]+.[0-9]+*"

jobs:
release-please:
runs-on: ubuntu-latest
steps:

- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch

- uses: werf/third-party-release-please-action@werf
with:
default-branch: 1.1
default-branch: ${{ steps.extract_branch.outputs.branch }}
release-type: go
bump-minor-pre-major: true
bump-patch-for-minor-pre-major: true
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/release_please_main.yml

This file was deleted.

0 comments on commit a247188

Please sign in to comment.