Refactor texture pack packaging to simplify ZIP creation and update release notes

This commit is contained in:
2025-06-22 03:12:38 +02:00
parent f640b24ecd
commit af6cd31b4a

View File

@ -55,14 +55,8 @@ jobs:
- name: Package texture pack - name: Package texture pack
run: | run: |
# Create proper Minecraft pack structure # Create ZIP with pack directory contents at root level
mkdir -p temp/pack cd pack && zip -r ../MineDivinity-Pack.zip *
cp pack/pack.mcmeta temp/pack/
cp pack/pack.png temp/pack/
cp -r pack/assets/ temp/pack/
# Create ZIP with correct structure
cd temp && zip -r ../MineDivinity-Pack.zip pack/
cd .. cd ..
# Generate SHA1 checksum # Generate SHA1 checksum
@ -107,10 +101,6 @@ jobs:
body: | body: |
Minecraft Texture Pack Release Minecraft Texture Pack Release
Version: ${{ env.VERSION }} Version: ${{ env.VERSION }}
Includes:
- Properly structured texture pack
- SHA1 checksum for verification
draft: false draft: false
prerelease: false prerelease: false