This improves the Build CI/CD System and the Release Commit Workflows. The CD system now builds and zips the pack in parallel, increasing the speed twofold. The CI system now does not produce double zips, but remains the same speed, thanks to parallel processing. The CI system now also changes server.properties and random patches config files for the build, and the buildscript has been edited for that. Since the CI system replaces the nightly task, the nightly workflow has been deleted. The makeArtifactNames task is now used, and has been changed to remove usage of deprecated features. The release commit workflows now supports updating files without version input, and the version is grabbed from versions.txt.' The code for the release commit workflows has also been greatly cleaned up. The changes made to the random patches template files have also been updated. The changes made incorrectly to the issue templates in #487 have also been fixed. The README badges have also been changed. The issue badge has been replaced by a nightly builds badge. Finally, this changes the forge download process to try again if the response is null, resulting in a decrease, to almost none, test build pack and build pack failures. [INTERNAL] [IGNORE] checks = { compareNot = "1.7-alpha-1" } [IGNORE]
48 lines
1.3 KiB
YAML
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:
|
|
tag: ${{ 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
|