Compare commits
47 Commits
v2025.06.2
...
v1.1.2
Author | SHA1 | Date | |
---|---|---|---|
0e3731fb83 | |||
a794270612 | |||
43e3373633 | |||
df86bf2d86 | |||
8fe40085b8 | |||
c87db5907b | |||
597ca6d72c | |||
82a71c5e59 | |||
4cc86614b8 | |||
9e91dec842 | |||
6ccff2beb5 | |||
20fedfd3d2 | |||
2b810e29e9 | |||
13818bb6ca | |||
5ec28f99f9 | |||
5618c5dd52 | |||
53ea4f84a6 | |||
d629b25bfe | |||
8574d541ec | |||
bfa80d8868 | |||
e2442ff7f2 | |||
5dcd07c52d | |||
fd76d3dfb1 | |||
d898ea8fa1 | |||
21a037edf3 | |||
e9f32a5581 | |||
83dd411981 | |||
2fb1279e9b | |||
3620413395 | |||
5aea076e97 | |||
9f6f374959 | |||
af6cd31b4a | |||
4bafdf9abf | |||
f640b24ecd | |||
5b3e567cc5 | |||
2c85007d5e | |||
c1735e7fd6 | |||
94f82e8768 | |||
77295a12e3 | |||
dd4f7401fa | |||
dac8e179b0 | |||
2bb6e7c79e | |||
696071bbb1 | |||
855bae28df | |||
117c195e53 | |||
644c15a6af | |||
427c01c66f |
@ -24,34 +24,43 @@ jobs:
|
|||||||
- name: Set up ZIP tool
|
- name: Set up ZIP tool
|
||||||
run: sudo apt-get install zip -y
|
run: sudo apt-get install zip -y
|
||||||
|
|
||||||
- name: Create version info
|
- name: Calculate version number
|
||||||
id: version
|
id: version
|
||||||
run: |
|
run: |
|
||||||
# Get current date for versioning
|
# Read current version from versions.txt or initialize
|
||||||
DATE=$(date +"%Y.%m.%d")
|
if [ -f versions.txt ]; then
|
||||||
echo "VERSION=$DATE" >> $GITHUB_ENV
|
CURRENT_VERSION=$(tail -1 versions.txt | awk '{print $NF}')
|
||||||
|
|
||||||
# Update versions.txt
|
|
||||||
if [ ! -f versions.txt ]; then
|
|
||||||
echo "Initial version: $DATE" > versions.txt
|
|
||||||
else
|
else
|
||||||
echo "New version: $DATE" >> versions.txt
|
CURRENT_VERSION="1.0.0"
|
||||||
|
echo "Initial version: $CURRENT_VERSION" > versions.txt
|
||||||
fi
|
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
|
- name: Package texture pack
|
||||||
run: |
|
run: |
|
||||||
# Create ZIP with consistent name
|
# Create ZIP with pack directory contents at root level
|
||||||
zip -r MineDivinity-Pack.zip \
|
cd pack && zip -r ../MineDivinity-Pack.zip *
|
||||||
pack.mcmeta \
|
cd ..
|
||||||
pack.png \
|
|
||||||
assets/ \
|
|
||||||
LICENSE \
|
|
||||||
README.md
|
|
||||||
|
|
||||||
# Generate SHA1 checksum
|
# 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 "ZIP file created: MineDivinity-Pack.zip"
|
||||||
echo "SHA1 checksum generated"
|
echo "SHA1 checksum generated"
|
||||||
@ -62,20 +71,23 @@ 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 version update
|
- name: Commit version update
|
||||||
run: |
|
run: |
|
||||||
# Pull changes and handle potential merge conflicts
|
git pull origin main
|
||||||
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
|
|
||||||
fi
|
|
||||||
|
|
||||||
git add versions.txt
|
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
|
git push origin main
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
@ -89,11 +101,6 @@ jobs:
|
|||||||
body: |
|
body: |
|
||||||
Minecraft Texture Pack Release
|
Minecraft Texture Pack Release
|
||||||
Version: ${{ env.VERSION }}
|
Version: ${{ env.VERSION }}
|
||||||
|
|
||||||
Contents:
|
|
||||||
- Packaged texture pack (consistent filename)
|
|
||||||
- SHA1 checksum for verification
|
|
||||||
- Version history in versions.txt
|
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
@ -112,7 +119,7 @@ jobs:
|
|||||||
-X POST \
|
-X POST \
|
||||||
-H "Authorization: token ${{ secrets.TOKEN }}" \
|
-H "Authorization: token ${{ secrets.TOKEN }}" \
|
||||||
-H "Content-Type: text/plain" \
|
-H "Content-Type: text/plain" \
|
||||||
--data-binary @MineDivinity-Pack.zip.sha1 \
|
--data-binary @MineDivinity-Pack.sha1.txt \
|
||||||
"${{ steps.create-release.outputs.upload_url }}?name=MineDivinity-Pack.zip.sha1"
|
"${{ steps.create-release.outputs.upload_url }}?name=MineDivinity-Pack.sha1.txt"
|
||||||
|
|
||||||
echo "Artifacts uploaded successfully"
|
echo "Artifacts uploaded successfully"
|
26
README.md
@ -1,2 +1,28 @@
|
|||||||
# resource-pack
|
# resource-pack
|
||||||
|
|
||||||
|
## Ikonok és Rangok
|
||||||
|
|
||||||
|
Ez a resource pack egyedi karaktereket ad a játékhoz a [pack/assets/minecraft/font/default.json](pack/assets/minecraft/font/default.json) fájl segítségével.
|
||||||
|
|
||||||
|
### GUI Ikonok
|
||||||
|
|
||||||
|
| Fájl | Karakter | Leírás |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| `gui/auth.png` | `` | Auth GUI ikon |
|
||||||
|
| `gui/lobby.png` | `` | Lobby GUI ikon |
|
||||||
|
| `gui/skypvp.png` | `` | SkyPvP GUI ikon |
|
||||||
|
| `gui/skyblock.png` | `` | SkyBlock GUI ikon |
|
||||||
|
|
||||||
|
### Rangok
|
||||||
|
|
||||||
|
| Fájl | Karakter | Leírás |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| `ranks/admin.png` | `` | Admin rang |
|
||||||
|
| `ranks/admin+.png` | `` | Admin+ rang |
|
||||||
|
| `ranks/developer.png` | `` | Developer rang |
|
||||||
|
| `ranks/helper.png` | `` | Helper rang |
|
||||||
|
| `ranks/manager.png` | `` | Manager rang |
|
||||||
|
| `ranks/staff.png` | `` | Staff rang |
|
||||||
|
| `ranks/tulaj.png` | `` | Tulajdonos rang |
|
||||||
|
|
||||||
|
https://thewilley.github.io/Minecraft-Glyph-Database/#accented-U+1F40
|
@ -3,10 +3,92 @@
|
|||||||
{
|
{
|
||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:gui/auth.png",
|
"file": "minecraft:gui/auth.png",
|
||||||
"ascent": 16,
|
"ascent": 7,
|
||||||
"height": 16,
|
"height": 8,
|
||||||
|
"chars": [""]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bitmap",
|
||||||
|
"file": "minecraft:gui/lobby.png",
|
||||||
|
"ascent": 7,
|
||||||
|
"height": 8,
|
||||||
|
"chars": [""]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bitmap",
|
||||||
|
"file": "minecraft:gui/skypvp.png",
|
||||||
|
"ascent": 7,
|
||||||
|
"height": 8,
|
||||||
|
"chars": [""]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bitmap",
|
||||||
|
"file": "minecraft:gui/skyblock.png",
|
||||||
|
"ascent": 7,
|
||||||
|
"height": 8,
|
||||||
|
"chars": [""]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bitmap",
|
||||||
|
"file": "minecraft:ranks/admin.png",
|
||||||
|
"ascent": 7,
|
||||||
|
"height": 8,
|
||||||
"chars": [
|
"chars": [
|
||||||
""
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bitmap",
|
||||||
|
"file": "minecraft:ranks/helper.png",
|
||||||
|
"ascent": 7,
|
||||||
|
"height": 8,
|
||||||
|
"chars": [
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bitmap",
|
||||||
|
"file": "minecraft:ranks/tulaj.png",
|
||||||
|
"ascent": 7,
|
||||||
|
"height": 8,
|
||||||
|
"chars": [
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bitmap",
|
||||||
|
"file": "minecraft:ranks/admin+.png",
|
||||||
|
"ascent": 7,
|
||||||
|
"height": 8,
|
||||||
|
"chars": [
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bitmap",
|
||||||
|
"file": "minecraft:ranks/manager.png",
|
||||||
|
"ascent": 7,
|
||||||
|
"height": 8,
|
||||||
|
"chars": [
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bitmap",
|
||||||
|
"file": "minecraft:ranks/developer.png",
|
||||||
|
"ascent": 7,
|
||||||
|
"height": 8,
|
||||||
|
"chars": [
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bitmap",
|
||||||
|
"file": "minecraft:ranks/staff.png",
|
||||||
|
"ascent": 7,
|
||||||
|
"height": 8,
|
||||||
|
"chars": [
|
||||||
|
""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
BIN
pack/assets/minecraft/textures/gui/lobby.png
Normal file
After Width: | Height: | Size: 354 B |
BIN
pack/assets/minecraft/textures/gui/skyblock.png
Normal file
After Width: | Height: | Size: 437 B |
BIN
pack/assets/minecraft/textures/gui/skypvp.png
Normal file
After Width: | Height: | Size: 401 B |
BIN
pack/assets/minecraft/textures/ranks/admin+.png
Normal file
After Width: | Height: | Size: 194 B |
BIN
pack/assets/minecraft/textures/ranks/admin.png
Normal file
After Width: | Height: | Size: 190 B |
BIN
pack/assets/minecraft/textures/ranks/developer.png
Normal file
After Width: | Height: | Size: 236 B |
BIN
pack/assets/minecraft/textures/ranks/helper.png
Normal file
After Width: | Height: | Size: 202 B |
BIN
pack/assets/minecraft/textures/ranks/manager.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
pack/assets/minecraft/textures/ranks/staff.PNG
Normal file
After Width: | Height: | Size: 193 B |
BIN
pack/assets/minecraft/textures/ranks/tulaj.png
Normal file
After Width: | Height: | Size: 356 B |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"pack_format": 15,
|
"pack_format": 22,
|
||||||
"description": [
|
"description": [
|
||||||
{"text": "MineDivinity Pack", "bold": true, "color": "#FF5555"}
|
{"text": "MineDivinity Pack", "bold": true, "color": "#FF5555"}
|
||||||
]
|
]
|
||||||
|
14
versions.txt
@ -1,3 +1,11 @@
|
|||||||
New version: 2025.06.22
|
1.0.0New version: 1.0.1
|
||||||
New version: 2025.06.22
|
New version: 1.0.2
|
||||||
New version: 2025.06.22
|
New version: 1.0.3
|
||||||
|
New version: 1.0.4
|
||||||
|
New version: 1.0.5
|
||||||
|
New version: 1.0.6
|
||||||
|
New version: 1.0.7
|
||||||
|
New version: 1.0.8
|
||||||
|
New version: 1.0.9
|
||||||
|
New version: 1.1.0
|
||||||
|
New version: 1.1.1
|
||||||
|