Skip to content

Cut minor

Cut minor #27

Workflow file for this run

---
name: Version
run-name: Cut ${{ github.event.inputs.version }}
on:
workflow_dispatch:
inputs:
version:
description: Version to cut
required: true
jobs:
tag:
name: Tag
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
with:
git_user_signingkey: true
git_commit_gpgsign: true
git_committer_name: ${{ secrets.GIT_USER_NAME }}
git_committer_email: ${{ secrets.GIT_USER_EMAIL }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Cut ${{ github.event.inputs.version }} version
run: |
git tag --sign "v${VERSION}" -m "${VERSION}"
git push --tags
env:
VERSION: ${{ github.event.inputs.version }}