Compare commits
28 Commits
dd4f7401fa
...
v1.0.8
Author | SHA1 | Date | |
---|---|---|---|
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 |
@ -24,26 +24,40 @@ 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: |
|
||||
zip -r MineDivinity-Pack.zip \
|
||||
pack/ \
|
||||
# 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.sha1.txt
|
||||
@ -57,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: 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
|
||||
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
|
||||
fi
|
||||
|
||||
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
|
||||
|
26
README.md
@ -1,2 +1,28 @@
|
||||
# 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
|
@ -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": [
|
||||
""
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
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_format": 15,
|
||||
"pack_format": 9,
|
||||
"description": [
|
||||
{"text": "MineDivinity Pack", "bold": true, "color": "#FF5555"}
|
||||
]
|
||||
|
13
versions.txt
@ -1,6 +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
|
||||
1.0.0New version: 1.0.1
|
||||
New version: 1.0.2
|
||||
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
|
||||
|