Compare commits
23 Commits
337368bd1d
...
latest
Author | SHA1 | Date | |
---|---|---|---|
21c48a6486 | |||
917753f7d1 | |||
909c0436cf | |||
9714851005 | |||
d3600f7200 | |||
985036e1e7 | |||
397a2fd54d | |||
b40cc92331 | |||
9656556f83 | |||
3afe17a9db | |||
2d70e0bd05 | |||
244402e39c | |||
d22f9c67c4 | |||
32caef2d8f | |||
1c77e172aa | |||
85e69a5215 | |||
e95c3b26cf | |||
268c5997f0 | |||
9d7cc920a9 | |||
44a64b5b7d | |||
0fefe5958f | |||
68103779fd | |||
b39e0bf064 |
@ -53,6 +53,12 @@ jobs:
|
||||
echo "New version: $NEW_VERSION" >> versions.txt
|
||||
echo "New version calculated: $NEW_VERSION"
|
||||
|
||||
- name: Update pack.mcmeta
|
||||
run: |
|
||||
sudo apt-get update && sudo apt-get install -y jq
|
||||
jq --arg version "v${{ env.VERSION }}" '.pack.description = [{"text": "MineDivinity Pack ", "bold": true, "color": "#FF5555"}, {"text": $version, "bold": true, "color": "#FFAA00"}]' pack/pack.mcmeta > pack/pack.mcmeta.tmp && mv pack/pack.mcmeta.tmp pack/pack.mcmeta
|
||||
echo "pack.mcmeta updated with version v${{ env.VERSION }}"
|
||||
|
||||
- name: Package texture pack
|
||||
run: |
|
||||
# Create ZIP with pack directory contents at root level
|
||||
@ -71,24 +77,29 @@ 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
|
||||
- name: Commit updates
|
||||
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
|
||||
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 pull origin main --rebase
|
||||
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: Create Tag
|
||||
- name: Update latest 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]"
|
||||
git push origin main
|
||||
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
|
||||
id: create-release
|
||||
@ -96,8 +107,8 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||
with:
|
||||
tag_name: v${{ env.VERSION }}
|
||||
release_name: MineDivinity Pack v${{ env.VERSION }}
|
||||
tag_name: latest
|
||||
release_name: MineDivinity Pack (Latest) v${{ env.VERSION }}
|
||||
body: |
|
||||
Minecraft Texture Pack Release
|
||||
Version: ${{ env.VERSION }}
|
||||
|
1
MineDivinity-Pack.sha1.txt
Normal file
@ -0,0 +1 @@
|
||||
4c7587735fbad76b0078c9d224fa815b680885ba MineDivinity-Pack.zip
|
BIN
MineDivinity-Pack.zip
Normal file
@ -3,8 +3,8 @@
|
||||
{
|
||||
"type": "bitmap",
|
||||
"file": "minecraft:ranks/admin.png",
|
||||
"ascent": 8,
|
||||
"height": 8,
|
||||
"ascent": 7,
|
||||
"height": 7,
|
||||
"chars": [
|
||||
""
|
||||
]
|
||||
@ -12,8 +12,8 @@
|
||||
{
|
||||
"type": "bitmap",
|
||||
"file": "minecraft:ranks/admin+.png",
|
||||
"ascent": 8,
|
||||
"height": 8,
|
||||
"ascent": 7,
|
||||
"height": 7,
|
||||
"chars": [
|
||||
""
|
||||
]
|
||||
@ -21,8 +21,8 @@
|
||||
{
|
||||
"type": "bitmap",
|
||||
"file": "minecraft:ranks/developer.png",
|
||||
"ascent": 8,
|
||||
"height": 8,
|
||||
"ascent": 7,
|
||||
"height": 7,
|
||||
"chars": [
|
||||
""
|
||||
]
|
||||
@ -30,8 +30,8 @@
|
||||
{
|
||||
"type": "bitmap",
|
||||
"file": "minecraft:ranks/helper.png",
|
||||
"ascent": 8,
|
||||
"height": 8,
|
||||
"ascent": 7,
|
||||
"height": 7,
|
||||
"chars": [
|
||||
""
|
||||
]
|
||||
@ -39,8 +39,8 @@
|
||||
{
|
||||
"type": "bitmap",
|
||||
"file": "minecraft:ranks/manager.png",
|
||||
"ascent": 8,
|
||||
"height": 8,
|
||||
"ascent": 7,
|
||||
"height": 7,
|
||||
"chars": [
|
||||
""
|
||||
]
|
||||
@ -48,8 +48,8 @@
|
||||
{
|
||||
"type": "bitmap",
|
||||
"file": "minecraft:ranks/staff.png",
|
||||
"ascent": 8,
|
||||
"height": 8,
|
||||
"ascent": 7,
|
||||
"height": 7,
|
||||
"chars": [
|
||||
""
|
||||
]
|
||||
@ -57,44 +57,44 @@
|
||||
{
|
||||
"type": "bitmap",
|
||||
"file": "minecraft:ranks/tulaj.png",
|
||||
"ascent": 8,
|
||||
"height": 8,
|
||||
"ascent": 7,
|
||||
"height": 7,
|
||||
"chars": [
|
||||
""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "bitmap",
|
||||
"file": "minecraft:ranks/auth.png",
|
||||
"ascent": 8,
|
||||
"height": 8,
|
||||
"file": "minecraft:gui/auth.png",
|
||||
"ascent": 10,
|
||||
"height": 11,
|
||||
"chars": [
|
||||
""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "bitmap",
|
||||
"file": "minecraft:ranks/lobby.png",
|
||||
"ascent": 8,
|
||||
"height": 8,
|
||||
"file": "minecraft:gui/lobby.png",
|
||||
"ascent": 10,
|
||||
"height": 11,
|
||||
"chars": [
|
||||
""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "bitmap",
|
||||
"file": "minecraft:ranks/skyblock.png",
|
||||
"ascent": 8,
|
||||
"height": 8,
|
||||
"file": "minecraft:gui/skyblock.png",
|
||||
"ascent": 10,
|
||||
"height": 11,
|
||||
"chars": [
|
||||
""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "bitmap",
|
||||
"file": "minecraft:ranks/skypvp.png",
|
||||
"ascent": 8,
|
||||
"height": 8,
|
||||
"file": "minecraft:gui/skypvp.png",
|
||||
"ascent": 10,
|
||||
"height": 11,
|
||||
"chars": [
|
||||
""
|
||||
]
|
||||
|
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 437 B After Width: | Height: | Size: 437 B |
Before Width: | Height: | Size: 401 B After Width: | Height: | Size: 401 B |
@ -1,8 +1,17 @@
|
||||
{
|
||||
"pack": {
|
||||
"pack_format": 9,
|
||||
"description": [
|
||||
{"text": "MineDivinity Pack", "bold": true, "color": "#FF5555"}
|
||||
]
|
||||
}
|
||||
}
|
||||
"pack": {
|
||||
"pack_format": 71,
|
||||
"description": [
|
||||
{
|
||||
"text": "MineDivinity Pack ",
|
||||
"bold": true,
|
||||
"color": "#FF5555"
|
||||
},
|
||||
{
|
||||
"text": "v1.2.4",
|
||||
"bold": true,
|
||||
"color": "#FFAA00"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -13,3 +13,12 @@ New version: 1.1.2
|
||||
New version: 1.1.3
|
||||
New version: 1.1.4
|
||||
New version: 1.1.5
|
||||
New version: 1.1.6
|
||||
New version: 1.1.7
|
||||
New version: 1.1.8
|
||||
New version: 1.1.9
|
||||
New version: 1.2.0
|
||||
New version: 1.2.1
|
||||
New version: 1.2.2
|
||||
New version: 1.2.3
|
||||
New version: 1.2.4
|
||||
|