28 Commits

Author SHA1 Message Date
bfa80d8868 Add additional bitmap font textures for ranks: admin, helper, tulaj, admin+, manager, developer, and staff
All checks were successful
Texture Pack Packaging and Release / package-and-release (push) Successful in 9s
2025-06-22 12:48:11 +02:00
e2442ff7f2 Merge branch 'main' of https://git.devbeni.lol/MineDivinity/pack 2025-06-22 12:44:04 +02:00
5dcd07c52d Add new bitmap font textures for lobby, skypvp, and skyblock; include rank images for admin, developer, helper, manager, staff, and tulaj 2025-06-22 12:44:02 +02:00
fd76d3dfb1 Update to version 1.0.4 [skip ci] 2025-06-22 01:25:51 +00:00
d898ea8fa1 Merge branch 'main' of https://git.devbeni.lol/MineDivinity/pack
All checks were successful
Texture Pack Packaging and Release / package-and-release (push) Successful in 9s
2025-06-22 03:25:42 +02:00
21a037edf3 Downgrade pack_format to 9 in pack.mcmeta 2025-06-22 03:25:04 +02:00
e9f32a5581 Update pack_format to 12 in pack.mcmeta 2025-06-22 03:19:16 +02:00
83dd411981 Update to version 1.0.3 [skip ci] 2025-06-22 01:17:38 +00:00
2fb1279e9b Merge branch 'main' of https://git.devbeni.lol/MineDivinity/pack
All checks were successful
Texture Pack Packaging and Release / package-and-release (push) Successful in 9s
2025-06-22 03:17:29 +02:00
3620413395 Downgrade pack_format to 10 in pack.mcmeta 2025-06-22 03:17:28 +02:00
5aea076e97 Update to version 1.0.2 [skip ci] 2025-06-22 01:12:48 +00:00
9f6f374959 Merge branch 'main' of https://git.devbeni.lol/MineDivinity/pack
All checks were successful
Texture Pack Packaging and Release / package-and-release (push) Successful in 9s
2025-06-22 03:12:40 +02:00
af6cd31b4a Refactor texture pack packaging to simplify ZIP creation and update release notes 2025-06-22 03:12:38 +02:00
4bafdf9abf Update to version 1.0.1 [skip ci] 2025-06-22 01:10:35 +00:00
f640b24ecd Refactor versioning logic to increment version numbers and update versions.txt
All checks were successful
Texture Pack Packaging and Release / package-and-release (push) Successful in 9s
2025-06-22 03:10:14 +02:00
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
14 changed files with 139 additions and 41 deletions

View File

@ -24,34 +24,43 @@ jobs:
- name: Set up ZIP tool
run: sudo apt-get install zip -y
- name: Create version info
- name: Calculate version number
id: version
run: |
# Get current date for versioning
DATE=$(date +"%Y.%m.%d")
echo "VERSION=$DATE" >> $GITHUB_ENV
# Update versions.txt
if [ ! -f versions.txt ]; then
echo "Initial version: $DATE" > versions.txt
# Read current version from versions.txt or initialize
if [ -f versions.txt ]; then
CURRENT_VERSION=$(tail -1 versions.txt | awk '{print $NF}')
else
echo "New version: $DATE" >> versions.txt
CURRENT_VERSION="1.0.0"
echo "Initial version: $CURRENT_VERSION" > versions.txt
fi
echo "Pack version: $DATE"
# Split version into components
MAJOR=$(echo $CURRENT_VERSION | cut -d. -f1)
MINOR=$(echo $CURRENT_VERSION | cut -d. -f2)
PATCH=$(echo $CURRENT_VERSION | cut -d. -f3)
# Increment version according to rules
if [ $PATCH -lt 9 ]; then
NEW_PATCH=$((PATCH + 1))
NEW_VERSION="$MAJOR.$MINOR.$NEW_PATCH"
else
NEW_MINOR=$((MINOR + 1))
NEW_VERSION="$MAJOR.$NEW_MINOR.0"
fi
echo "VERSION=$NEW_VERSION" >> $GITHUB_ENV
echo "New version: $NEW_VERSION" >> versions.txt
echo "New version calculated: $NEW_VERSION"
- name: Package texture pack
run: |
# Create ZIP with consistent name
zip -r MineDivinity-Pack.zip \
pack.mcmeta \
pack.png \
assets/ \
LICENSE \
README.md
# Create ZIP with pack directory contents at root level
cd pack && zip -r ../MineDivinity-Pack.zip *
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,20 +71,23 @@ jobs:
git config --global user.email "actions@gitea"
git remote set-url origin https://x:${{ secrets.TOKEN }}@git.devbeni.lol/MineDivinity/pack.git
- name: Commit version update
- name: Delete existing tag if present
run: |
# Pull changes and handle potential merge conflicts
git pull origin main || true
# If conflict occurs, keep both version entries
if git diff --name-only --diff-filter=U | grep -q "versions.txt"; then
git checkout --ours versions.txt
echo "New version: ${{ env.VERSION }}" >> versions.txt
git add versions.txt
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 version update
run: |
git pull origin main
git add versions.txt
git commit -m "Update to version ${{ env.VERSION }} [skip ci]" || echo "No changes to commit"
git commit -m "Update to version ${{ env.VERSION }} [skip ci]"
git push origin main
- name: Create Release
@ -89,11 +101,6 @@ jobs:
body: |
Minecraft Texture Pack Release
Version: ${{ env.VERSION }}
Contents:
- Packaged texture pack (consistent filename)
- SHA1 checksum for verification
- Version history in versions.txt
draft: false
prerelease: false
@ -112,7 +119,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

@ -8,6 +8,96 @@
"chars": [
""
]
},
{
"type": "bitmap",
"file": "minecraft:gui/lobby.png",
"ascent": 16,
"height": 16,
"chars": [
""
]
},
{
"type": "bitmap",
"file": "minecraft:gui/skypvp.png",
"ascent": 16,
"height": 16,
"chars": [
""
]
},
{
"type": "bitmap",
"file": "minecraft:gui/skyblock.png",
"ascent": 16,
"height": 16,
"chars": [
""
]
},
{
"type": "bitmap",
"file": "minecraft:ranks/admin.png",
"ascent": 8,
"height": 8,
"chars": [
""
]
},
{
"type": "bitmap",
"file": "minecraft:ranks/helper.png",
"ascent": 8,
"height": 8,
"chars": [
""
]
},
{
"type": "bitmap",
"file": "minecraft:ranks/tulaj.png",
"ascent": 8,
"height": 8,
"chars": [
""
]
},
{
"type": "bitmap",
"file": "minecraft:ranks/admin+.png",
"ascent": 8,
"height": 8,
"chars": [
""
]
},
{
"type": "bitmap",
"file": "minecraft:ranks/manager.png",
"ascent": 8,
"height": 8,
"chars": [
""
]
},
{
"type": "bitmap",
"file": "minecraft:ranks/developer.png",
"ascent": 8,
"height": 8,
"chars": [
""
]
},
{
"type": "bitmap",
"file": "minecraft:ranks/staff.png",
"ascent": 8,
"height": 8,
"chars": [
""
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

View File

@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 15,
"pack_format": 9,
"description": [
{"text": "MineDivinity Pack", "bold": true, "color": "#FF5555"}
]

View File

@ -1,3 +1,4 @@
New version: 2025.06.22
New version: 2025.06.22
New version: 2025.06.22
1.0.0New version: 1.0.1
New version: 1.0.2
New version: 1.0.3
New version: 1.0.4