Skip to content

publish

publish #3

Workflow file for this run

name: publish
on:
workflow_dispatch:
inputs:
kind:
description: 'Kind of release'
default: 'minor'
type: choice
options:
- prepatch
- patch
- preminor
- minor
- premajor
- major
required: true
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish release
uses: boywithkeyboard/taco@v1
with:
kind: ${{github.event.inputs.kind}}
- name: Bump major version
run: |
short="v1"
git tag $short -f
git push --tags -f