mirror of
https://github.com/Merith-TK/modpack-template.git
synced 2025-04-02 06:20:51 +01:00
Compare commits
No commits in common. "release-test.1" and "main" have entirely different histories.
release-te
...
main
2 changed files with 5 additions and 6 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -1,8 +1,9 @@
|
||||||
name: Release Modpack
|
name: Release Modpack
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [published]
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -37,11 +38,9 @@ jobs:
|
||||||
- name: Make Modlist
|
- name: Make Modlist
|
||||||
run: make release-file
|
run: make release-file
|
||||||
|
|
||||||
- name: Upload to Release
|
- name: Create 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