Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
21c48a6486 | |||
917753f7d1 | |||
909c0436cf | |||
9714851005 | |||
d3600f7200 | |||
985036e1e7 | |||
397a2fd54d | |||
b40cc92331 | |||
9656556f83 | |||
3afe17a9db | |||
2d70e0bd05 | |||
244402e39c | |||
d22f9c67c4 | |||
32caef2d8f | |||
1c77e172aa | |||
85e69a5215 | |||
e95c3b26cf | |||
268c5997f0 |
@ -77,24 +77,29 @@ 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
|
- name: Commit updates
|
||||||
run: |
|
run: |
|
||||||
if git rev-parse v${{ env.VERSION }} >/dev/null 2>&1; then
|
git add versions.txt pack/pack.mcmeta MineDivinity-Pack.zip MineDivinity-Pack.sha1.txt
|
||||||
git tag -d v${{ env.VERSION }}
|
git commit -m "Update to version ${{ env.VERSION }} [skip ci]"
|
||||||
git push --delete origin v${{ env.VERSION }} || true
|
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
|
fi
|
||||||
|
|
||||||
- name: Create Tag
|
- name: Update latest tag
|
||||||
run: |
|
run: |
|
||||||
git tag -a v${{ env.VERSION }} -m "Release v${{ env.VERSION }}"
|
git tag -d latest || true
|
||||||
git push origin v${{ env.VERSION }}
|
git push --delete origin latest || true
|
||||||
|
git tag -a latest -m "Release v${{ env.VERSION }}"
|
||||||
- name: Commit version update
|
git push origin latest
|
||||||
run: |
|
|
||||||
git pull origin main
|
|
||||||
git add versions.txt
|
|
||||||
git commit -m "Update to version ${{ env.VERSION }} [skip ci]"
|
|
||||||
git push origin main
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create-release
|
id: create-release
|
||||||
@ -102,8 +107,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: v${{ env.VERSION }}
|
tag_name: latest
|
||||||
release_name: MineDivinity Pack v${{ env.VERSION }}
|
release_name: MineDivinity Pack (Latest) v${{ env.VERSION }}
|
||||||
body: |
|
body: |
|
||||||
Minecraft Texture Pack Release
|
Minecraft Texture Pack Release
|
||||||
Version: ${{ env.VERSION }}
|
Version: ${{ env.VERSION }}
|
||||||
|
1
MineDivinity-Pack.sha1.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
4c7587735fbad76b0078c9d224fa815b680885ba MineDivinity-Pack.zip
|
BIN
MineDivinity-Pack.zip
Normal file
@ -4,7 +4,7 @@
|
|||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:ranks/admin.png",
|
"file": "minecraft:ranks/admin.png",
|
||||||
"ascent": 7,
|
"ascent": 7,
|
||||||
"height": 8,
|
"height": 7,
|
||||||
"chars": [
|
"chars": [
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
@ -13,7 +13,7 @@
|
|||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:ranks/admin+.png",
|
"file": "minecraft:ranks/admin+.png",
|
||||||
"ascent": 7,
|
"ascent": 7,
|
||||||
"height": 8,
|
"height": 7,
|
||||||
"chars": [
|
"chars": [
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
@ -22,7 +22,7 @@
|
|||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:ranks/developer.png",
|
"file": "minecraft:ranks/developer.png",
|
||||||
"ascent": 7,
|
"ascent": 7,
|
||||||
"height": 8,
|
"height": 7,
|
||||||
"chars": [
|
"chars": [
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
@ -31,7 +31,7 @@
|
|||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:ranks/helper.png",
|
"file": "minecraft:ranks/helper.png",
|
||||||
"ascent": 7,
|
"ascent": 7,
|
||||||
"height": 8,
|
"height": 7,
|
||||||
"chars": [
|
"chars": [
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
@ -40,7 +40,7 @@
|
|||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:ranks/manager.png",
|
"file": "minecraft:ranks/manager.png",
|
||||||
"ascent": 7,
|
"ascent": 7,
|
||||||
"height": 8,
|
"height": 7,
|
||||||
"chars": [
|
"chars": [
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
@ -49,7 +49,7 @@
|
|||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:ranks/staff.png",
|
"file": "minecraft:ranks/staff.png",
|
||||||
"ascent": 7,
|
"ascent": 7,
|
||||||
"height": 8,
|
"height": 7,
|
||||||
"chars": [
|
"chars": [
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
@ -58,43 +58,43 @@
|
|||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:ranks/tulaj.png",
|
"file": "minecraft:ranks/tulaj.png",
|
||||||
"ascent": 7,
|
"ascent": 7,
|
||||||
"height": 8,
|
"height": 7,
|
||||||
"chars": [
|
"chars": [
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:ranks/auth.png",
|
"file": "minecraft:gui/auth.png",
|
||||||
"ascent": 11,
|
"ascent": 10,
|
||||||
"height": 16,
|
"height": 11,
|
||||||
"chars": [
|
"chars": [
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:ranks/lobby.png",
|
"file": "minecraft:gui/lobby.png",
|
||||||
"ascent": 11,
|
"ascent": 10,
|
||||||
"height": 16,
|
"height": 11,
|
||||||
"chars": [
|
"chars": [
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:ranks/skyblock.png",
|
"file": "minecraft:gui/skyblock.png",
|
||||||
"ascent": 11,
|
"ascent": 10,
|
||||||
"height": 16,
|
"height": 11,
|
||||||
"chars": [
|
"chars": [
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "bitmap",
|
"type": "bitmap",
|
||||||
"file": "minecraft:ranks/skypvp.png",
|
"file": "minecraft:gui/skypvp.png",
|
||||||
"ascent": 11,
|
"ascent": 10,
|
||||||
"height": 16,
|
"height": 11,
|
||||||
"chars": [
|
"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,6 +1,17 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"pack_format": 71,
|
"pack_format": 71,
|
||||||
"description": {"text": "MineDivinity Pack", "bold": true, "color": "#FF5555"}
|
"description": [
|
||||||
}
|
{
|
||||||
|
"text": "MineDivinity Pack ",
|
||||||
|
"bold": true,
|
||||||
|
"color": "#FF5555"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "v1.2.4",
|
||||||
|
"bold": true,
|
||||||
|
"color": "#FFAA00"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
@ -14,3 +14,11 @@ New version: 1.1.3
|
|||||||
New version: 1.1.4
|
New version: 1.1.4
|
||||||
New version: 1.1.5
|
New version: 1.1.5
|
||||||
New version: 1.1.6
|
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
|
||||||
|