modded7/.github/workflows/releasechangelog.yml
Integer Limit 542655bcfb
Allow for Multiple Changelogs (#488)
Allows for generating multiple changelogs, useful in further alphas/betas.

[COMBINE]
commits = ["fbd1584e7baed4a3603e3c810066603185f1b230"]
[COMBINE]

[FIXUP]
[[fixes]]
sha = "8fc1c45080f3247f973308aa8824629b98b18a91"
newTitle = "Fix Draconic Evolution Crash (#484)"
newBody = """
[BUG]
[IGNORE]
after = "1.7-alpha-2"
[IGNORE]
"""
[FIXUP]
2023-10-26 20:25:26 +11:00

48 lines
1.3 KiB
YAML

name: Create Release Commit & Changelog
on:
workflow_dispatch:
inputs:
tag:
description: Tag to Create & Create Changelog At.
required: true
release_type:
description: Release Type.
type: choice
required: true
default: 'Release'
options:
- 'Release'
- 'Beta Release'
- 'Alpha Release'
compare_tag:
description: Tag(s) to compare against. If not set, will use the tag before `Tag`. If specifying multiple, seperate by commas. (Spaces allowed).
required: false
branch:
description: Branch to push changelog to. If not set, changelog will just be uploaded as an artifact.
required: false
jobs:
releaseCommit:
name: Create Release Commit (${{ inputs.tag }})
uses: ./.github/workflows/releasecommit.yml
with:
version: ${{ inputs.tag }}
release_type: ${{ inputs.release_type }}
secrets: inherit
permissions:
contents: write
createChangelog:
name: Create Changelog (${{ inputs.tag }})
needs: releaseCommit
uses: ./.github/workflows/createchangelog.yml
with:
tag: ${{ inputs.tag }}
release_type: ${{ inputs.release_type }}
compare_tag: ${{ inputs.compare_tag }}
branch: ${{ inputs.branch }}
secrets: inherit
permissions:
contents: write