Skip to content

Commit

Permalink
Merge pull request #86 from didoda/feat/manual-release-workflow
Browse files Browse the repository at this point in the history
Manual release with Release workflow
  • Loading branch information
didoda authored Jul 4, 2023
2 parents 6131a1a + 69f7fc2 commit c812e52
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,22 @@ name: Release
on:
pull_request_target:
types: [closed]
workflow_dispatch:
inputs:
releaseType:
description: 'Release type'
required: true
default: 'patch'
type: choice
options:
- patch
- minor
- major

jobs:
release-job:
uses: bedita/github-workflows/.github/workflows/release.yml@v1
with:
main_branch: 'master'
dist_branches: '["master","1.x"]'
version_bump: ${{ inputs.releaseType }}

0 comments on commit c812e52

Please sign in to comment.