mirror of
https://github.com/Merith-TK/modpack-template.git
synced 2025-04-02 06:20:51 +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
|
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"
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -40,7 +40,7 @@ multimc: build
|
||||||
7z a .build/${PACKNAME}-multimc.zip ./* -r
|
7z a .build/${PACKNAME}-multimc.zip ./* -r
|
||||||
7z a .build/${PACKNAME}-multimc.zip ./.minecraft -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
|
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#$(shell pw detect)#{PACKURL}#g' instance.cfg
|
||||||
@sed -i 's#${ICONNAME}#{ICONNAME}#g' instance.cfg
|
@sed -i 's#${ICONNAME}#{ICONNAME}#g' instance.cfg
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue