Skip to content

add tag

add tag #5

Workflow file for this run

name: add tag
on:
workflow_dispatch:
inputs:
bump:
type: choice
description: 'Bump the version'
required: true
options:
- major
- minor
- patch
jobs:
add-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup git-bump
uses: KeisukeYamashita/[email protected]
with:
repository: babarot/git-bump
arch: x86_64
- name: Bump version
run: git-bump --${{ github.event.inputs.bump }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}