6 Commits

Author SHA1 Message Date
909c0436cf Merge branch 'main' of https://git.devbeni.lol/MineDivinity/pack
Some checks failed
Texture Pack Packaging and Release / package-and-release (push) Failing after 16s
2025-06-23 02:30:07 +02:00
9714851005 Refactor release workflow to streamline version tagging and update latest release handling 2025-06-23 02:30:06 +02:00
d3600f7200 Update to version 1.2.3 [skip ci] 2025-06-23 00:21:32 +00:00
985036e1e7 Remove obsolete MineDivinity-Pack.zip file
All checks were successful
Texture Pack Packaging and Release / package-and-release (push) Successful in 20s
2025-06-23 02:21:10 +02:00
397a2fd54d Fix GUI font height values for auth, lobby, skyblock, and skypvp 2025-06-23 02:21:02 +02:00
b40cc92331 Update to version 1.2.2 [skip ci] 2025-06-23 00:04:26 +00:00
5 changed files with 28 additions and 21 deletions

View File

@ -77,33 +77,38 @@ jobs:
git config --global user.email "actions@gitea" git config --global user.email "actions@gitea"
git remote set-url origin https://x:${{ secrets.TOKEN }}@git.devbeni.lol/MineDivinity/pack.git git remote set-url origin https://x:${{ secrets.TOKEN }}@git.devbeni.lol/MineDivinity/pack.git
- name: Delete existing tag if present
run: |
if git rev-parse v${{ env.VERSION }} >/dev/null 2>&1; then
git tag -d v${{ env.VERSION }}
git push --delete origin v${{ env.VERSION }} || true
fi
- name: Create Tag
run: |
git tag -a v${{ env.VERSION }} -m "Release v${{ env.VERSION }}"
git push origin v${{ env.VERSION }}
- name: Commit updates - name: Commit updates
run: | run: |
git pull origin main git pull origin main --rebase
git add versions.txt pack/pack.mcmeta MineDivinity-Pack.zip git add versions.txt pack/pack.mcmeta MineDivinity-Pack.zip MineDivinity-Pack.sha1.txt
git commit -m "Update to version ${{ env.VERSION }} [skip ci]" git commit -m "Update to version ${{ env.VERSION }} [skip ci]"
git push origin main git push origin main
- name: Delete existing release
run: |
RELEASE_ID=$(curl -s -H "Authorization: token ${{ secrets.TOKEN }}" "https://git.devbeni.lol/api/v1/repos/MineDivinity/pack/releases/tags/latest" | jq .id)
if [ "$RELEASE_ID" != "null" ] && [ ! -z "$RELEASE_ID" ]; then
echo "Deleting release with ID $RELEASE_ID"
curl -s -X DELETE -H "Authorization: token ${{ secrets.TOKEN }}" "https://git.devbeni.lol/api/v1/repos/MineDivinity/pack/releases/$RELEASE_ID"
else
echo "No existing 'latest' release found."
fi
- name: Update latest tag
run: |
git tag -d latest || true
git push --delete origin latest || true
git tag -a latest -m "Release v${{ env.VERSION }}"
git push origin latest
- name: Create Release - name: Create Release
id: create-release id: create-release
uses: actions/create-release@v1 uses: actions/create-release@v1
env: env:
GITHUB_TOKEN: ${{ secrets.TOKEN }} GITHUB_TOKEN: ${{ secrets.TOKEN }}
with: with:
tag_name: v${{ env.VERSION }} tag_name: latest
release_name: MineDivinity Pack v${{ env.VERSION }} release_name: MineDivinity Pack (Latest) v${{ env.VERSION }}
body: | body: |
Minecraft Texture Pack Release Minecraft Texture Pack Release
Version: ${{ env.VERSION }} Version: ${{ env.VERSION }}

BIN
MineDivinity-Pack.zip Normal file

Binary file not shown.

View File

@ -67,7 +67,7 @@
"type": "bitmap", "type": "bitmap",
"file": "minecraft:gui/auth.png", "file": "minecraft:gui/auth.png",
"ascent": 10, "ascent": 10,
"height": 10, "height": 11,
"chars": [ "chars": [
"" ""
] ]
@ -76,7 +76,7 @@
"type": "bitmap", "type": "bitmap",
"file": "minecraft:gui/lobby.png", "file": "minecraft:gui/lobby.png",
"ascent": 10, "ascent": 10,
"height": 10, "height": 11,
"chars": [ "chars": [
"" ""
] ]
@ -85,7 +85,7 @@
"type": "bitmap", "type": "bitmap",
"file": "minecraft:gui/skyblock.png", "file": "minecraft:gui/skyblock.png",
"ascent": 10, "ascent": 10,
"height": 10, "height": 11,
"chars": [ "chars": [
"" ""
] ]
@ -94,7 +94,7 @@
"type": "bitmap", "type": "bitmap",
"file": "minecraft:gui/skypvp.png", "file": "minecraft:gui/skypvp.png",
"ascent": 10, "ascent": 10,
"height": 10, "height": 11,
"chars": [ "chars": [
"" ""
] ]

View File

@ -8,7 +8,7 @@
"color": "#FF5555" "color": "#FF5555"
}, },
{ {
"text": "v1.2.1", "text": "v1.2.3",
"bold": true, "bold": true,
"color": "#FFAA00" "color": "#FFAA00"
} }

View File

@ -19,3 +19,5 @@ New version: 1.1.8
New version: 1.1.9 New version: 1.1.9
New version: 1.2.0 New version: 1.2.0
New version: 1.2.1 New version: 1.2.1
New version: 1.2.2
New version: 1.2.3