Skip to content

Commit

Permalink
Merge pull request #1 from brevia-ai/feat/release-workflow
Browse files Browse the repository at this point in the history
Add release gh workflow
  • Loading branch information
stefanorosanelli authored Oct 24, 2023
2 parents 1c3283d + db5660a commit 1ceb053
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
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 }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ To create a new project just run

```bash
pip install cookiecutter
cookiecutter gh:stefanorosanelli/brevia-cookiecutter
cookiecutter gh:brevia-ai/brevia-cookiecutter
```

0 comments on commit 1ceb053

Please sign in to comment.