mirror of
https://github.com/Merith-TK/modpack-template.git
synced 2025-03-31 21:50:48 +01:00
Compare commits
2 commits
main
...
release-te
Author | SHA1 | Date | |
---|---|---|---|
82ff7a85e4 | |||
5c155aabdf |
2 changed files with 6 additions and 5 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -1,9 +1,8 @@
|
|||
name: Release Modpack
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -38,9 +37,11 @@ jobs:
|
|||
- name: Make Modlist
|
||||
run: make release-file
|
||||
|
||||
- name: Create Release
|
||||
- name: Upload to Release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag: ${{ github.event.release.tag_name }}
|
||||
artifacts: ".build/*"
|
||||
allowUpdates: true
|
||||
bodyFile: ".build/CHANGELOG.md"
|
||||
|
|
2
Makefile
2
Makefile
|
@ -40,7 +40,7 @@ multimc: build
|
|||
7z a .build/${PACKNAME}-multimc.zip ./* -r
|
||||
7z a .build/${PACKNAME}-multimc.zip ./.minecraft -r
|
||||
7z d .build/${PACKNAME}-multimc.zip ./.build ./.minecraft/mods ./.minecraft/pack.toml ./.minecraft/index.toml -r
|
||||
rm ./${ICONNAME}_icon.png
|
||||
-rm ./${ICONNAME}_icon.png
|
||||
@sed -i 's#$(shell pw detect)#{PACKURL}#g' instance.cfg
|
||||
@sed -i 's#${ICONNAME}#{ICONNAME}#g' instance.cfg
|
||||
|
||||
|
|
Loading…
Reference in a new issue