Compare commits
41 Commits
d664bbee8c
...
v1.0.9
Author | SHA1 | Date | |
---|---|---|---|
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 | |||
f3d460ea37 | |||
6dfc98b982 |
@ -11,6 +11,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
@ -20,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"
|
||||
@ -58,6 +71,18 @@ 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: |
|
||||
git pull origin main
|
||||
@ -76,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
|
||||
|
||||
@ -99,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"
|
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
|
@ -6,7 +6,97 @@
|
||||
"ascent": 16,
|
||||
"height": 16,
|
||||
"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"}
|
||||
]
|
||||
|
11
versions.txt
@ -1,3 +1,8 @@
|
||||
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
|
||||
New version: 1.0.8
|
||||
|