Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the build release workflow #539

Merged
merged 4 commits into from
Dec 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions .github/workflows/build_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:

name: Build Release

permissions:
contents: write

jobs:
build-release:
runs-on: ubuntu-latest
Expand All @@ -23,27 +26,17 @@ jobs:
- name: Build Assets
run: git ls-files | zip LME-${{ inputs.version }}.zip -@

- name: Build Changelog
id: release
uses: mikepenz/[email protected]
with:
toTag: "release-${{ inputs.version }}"
configuration: ".github/changelog-configuration.json"
failOnError: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Draft Release
- name: Create Draft Release
uses: softprops/[email protected]
with:
name: LME v${{ inputs.version }}
tag_name: v${{ inputs.version }}
body: |
body: |
## [${{ inputs.version }}] - Timberrrrr! - ${{ env.date }}
${{ steps.release.outputs.changelog }}
append_body: true
files: LME-${{ inputs.version }}.zip
draft: true
prerelease: false
discussion_category_name: "Announcements"
generate_release_notes: false
generate_release_notes: true
fail_on_unmatched_files: true
Loading