13 Commits

Author SHA1 Message Date
5b3e567cc5 Merge branch 'main' of https://git.devbeni.lol/MineDivinity/pack
Some checks failed
Texture Pack Packaging and Release / package-and-release (push) Failing after 6s
2025-06-22 03:08:44 +02:00
2c85007d5e Refactor texture pack packaging to ensure proper structure and include SHA1 checksum for verification 2025-06-22 03:08:43 +02:00
c1735e7fd6 Update to version 2025.06.22 [skip ci] 2025-06-22 01:07:52 +00:00
94f82e8768 Merge branch 'main' of https://git.devbeni.lol/MineDivinity/pack
Some checks failed
Texture Pack Packaging and Release / package-and-release (push) Failing after 7s
2025-06-22 03:07:43 +02:00
77295a12e3 Add missing files to texture pack ZIP packaging 2025-06-22 03:07:41 +02:00
dd4f7401fa Update to version 2025.06.22 [skip ci] 2025-06-22 01:04:56 +00:00
dac8e179b0 Merge branch 'main' of https://git.devbeni.lol/MineDivinity/pack
Some checks failed
Texture Pack Packaging and Release / package-and-release (push) Failing after 8s
2025-06-22 03:04:47 +02:00
2bb6e7c79e Refactor packaging step to use a consistent directory for ZIP creation and fix checksum upload formatting 2025-06-22 03:04:45 +02:00
696071bbb1 Fix SHA1 checksum file naming in build-and-release workflow 2025-06-22 03:02:11 +02:00
855bae28df Update to version 2025.06.22 [skip ci] 2025-06-22 00:59:24 +00:00
117c195e53 Merge branch 'main' of https://git.devbeni.lol/MineDivinity/pack
Some checks failed
Texture Pack Packaging and Release / package-and-release (push) Failing after 8s
2025-06-22 02:59:17 +02:00
644c15a6af Remove unnecessary details from release body in build-and-release workflow 2025-06-22 02:59:14 +02:00
427c01c66f Update to version 2025.06.22 [skip ci] 2025-06-22 00:57:42 +00:00
2 changed files with 23 additions and 13 deletions

View File

@ -42,16 +42,18 @@ jobs:
- name: Package texture pack
run: |
# Create ZIP with consistent name
zip -r MineDivinity-Pack.zip \
pack.mcmeta \
pack.png \
assets/ \
LICENSE \
README.md
# Create proper Minecraft pack structure
mkdir -p temp/pack
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 ..
# Generate SHA1 checksum
sha1sum MineDivinity-Pack.zip > MineDivinity-Pack.zip.sha1
sha1sum MineDivinity-Pack.zip > MineDivinity-Pack.sha1.txt
echo "ZIP file created: MineDivinity-Pack.zip"
echo "SHA1 checksum generated"
@ -62,6 +64,11 @@ jobs:
git config --global user.email "actions@gitea"
git remote set-url origin https://x:${{ secrets.TOKEN }}@git.devbeni.lol/MineDivinity/pack.git
- name: Create Tag
run: |
git tag -a v${{ env.VERSION }} -m "Release v${{ env.VERSION }}"
git push origin v${{ env.VERSION }}
- name: Commit version update
run: |
# Pull changes and handle potential merge conflicts
@ -90,10 +97,9 @@ jobs:
Minecraft Texture Pack Release
Version: ${{ env.VERSION }}
Contents:
- Packaged texture pack (consistent filename)
Includes:
- Properly structured texture pack
- SHA1 checksum for verification
- Version history in versions.txt
draft: false
prerelease: false
@ -112,7 +118,7 @@ jobs:
-X POST \
-H "Authorization: token ${{ secrets.TOKEN }}" \
-H "Content-Type: text/plain" \
--data-binary @MineDivinity-Pack.zip.sha1 \
"${{ steps.create-release.outputs.upload_url }}?name=MineDivinity-Pack.zip.sha1"
--data-binary @MineDivinity-Pack.sha1.txt \
"${{ steps.create-release.outputs.upload_url }}?name=MineDivinity-Pack.sha1.txt"
echo "Artifacts uploaded successfully"

View File

@ -1,3 +1,7 @@
New version: 2025.06.22
New version: 2025.06.22
New version: 2025.06.22
New version: 2025.06.22
New version: 2025.06.22
New version: 2025.06.22
New version: 2025.06.22