Compare commits
2 Commits
c1735e7fd6
...
5b3e567cc5
Author | SHA1 | Date | |
---|---|---|---|
5b3e567cc5 | |||
2c85007d5e |
@ -42,10 +42,15 @@ jobs:
|
||||
|
||||
- name: Package texture pack
|
||||
run: |
|
||||
zip -r MineDivinity-Pack.zip \
|
||||
pack/pack.mcmeta \
|
||||
pack/pack.png \
|
||||
pack/assets/ \
|
||||
# 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.sha1.txt
|
||||
@ -59,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
|
||||
@ -86,6 +96,10 @@ jobs:
|
||||
body: |
|
||||
Minecraft Texture Pack Release
|
||||
Version: ${{ env.VERSION }}
|
||||
|
||||
Includes:
|
||||
- Properly structured texture pack
|
||||
- SHA1 checksum for verification
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
|
Reference in New Issue
Block a user