Compare commits

..

No commits in common. "release-test.1" and "main" have entirely different histories.

2 changed files with 5 additions and 6 deletions

View file

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

View file

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