.github/workflow-templates/release.yml

24 lines
831 B
YAML

name: Release
on:
workflow_dispatch:
inputs:
version:
description: 'Version to release, e.g. 1.4.0 (a leading "v" is accepted)'
type: string
required: true
permissions:
# The reusable workflow pushes an annotated tag and publishes a Release.
contents: write
jobs:
release:
uses: Sea-Haven-Industries/.github/.github/workflows/release.yaml@4a6cbfd362140a68810f0f46d338026863b8e827 # v1.0.10
with:
version: ${{ inputs.version }}
# Tags in this org are v-prefixed MAJOR.MINOR.PATCH; "v" is the default
# and is passed explicitly so a repo can see what it is producing.
tag-prefix: "v"
# Notes come from GitHub's commit-history generator. Set notes-file
# instead to publish the contents of a file as the release notes.
generate-notes: true