make release

This commit is contained in:
merith-tk 2024-11-05 11:59:24 -08:00
parent 9fdbce68bd
commit 5c155aabdf

View file

@ -1,9 +1,8 @@
name: Release Modpack name: Release Modpack
on: on:
push: release:
tags: types: [published]
- 'v*'
jobs: jobs:
build: build:
@ -38,9 +37,11 @@ jobs:
- name: Make Modlist - name: Make Modlist
run: make release-file run: make release-file
- name: Create Release - name: Upload to Release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1
with: with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.event.release.tag_name }}
artifacts: ".build/*" artifacts: ".build/*"
allowUpdates: true allowUpdates: true
bodyFile: ".build/CHANGELOG.md" bodyFile: ".build/CHANGELOG.md"