forked from ottofeller/ofmt
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 918 Bytes
/
tag.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Bump version and create release
on:
workflow_dispatch:
inputs:
bump-level:
description: Version level to be bumped
default: patch
required: false
type: choice
options:
- none
- patch
- minor
- major
jobs:
create:
name: Bump version and create release
runs-on: ubuntu-latest
steps:
- uses: ottofeller/github-actions/create-release@main
with:
initial-version: 1.0.3
bump-level: ${{ github.event.inputs.bump-level }}
release-branches: master
github-token: ${{ secrets.GITHUB_TOKEN }}
update-children-path: |
eslint-config-ofmt
prettier-config-ofmt
ofmt
update-children-bump-level: |
${{ github.event.inputs.bump-level }}
${{ github.event.inputs.bump-level }}
${{ github.event.inputs.bump-level }}