Skip to content

Commit

Permalink
feat: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanorosanelli committed Oct 24, 2023
1 parent 30ca41e commit db5660a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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: 'main'
dist_branches: '["main"]'
version_bump: ${{ inputs.releaseType }}

0 comments on commit db5660a

Please sign in to comment.