Compare commits

...

2 commits

Author SHA1 Message Date
82ff7a85e4 make it ignore error on removing icon 2024-11-05 12:01:53 -08:00
5c155aabdf make release 2024-11-05 11:59:24 -08:00
2 changed files with 6 additions and 5 deletions

View file

@ -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"

View file

@ -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