Skip to content

bump-request

bump-request #17

Workflow file for this run

name: bump-request
on:
workflow_dispatch:
inputs:
release_type:
type: choice
description: How to bump the version.
options:
- major
- minor
- patch
default: patch
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
with:
command: |
sed -i -r "s/([0-9]+\.[0-9]+\.[0-9]+)/${{ inputs.version }}/" VERSION
version: ${{ inputs.version }}
release_type: ${{ inputs.release_type }}