.github/workflow-templates/release.yml
2026-08-24 21:05:53 +00:00

24 lines
830 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@af0f002e14a08cdbfd879c1183bfe7eb2604bce9 # v1.0.8
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