Skip to content

Commit a198b42

Browse files
committed
Merge branch 'main' into dev
2 parents fa22cd9 + 9a85dd1 commit a198b42

File tree

4 files changed

+19
-79
lines changed

4 files changed

+19
-79
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ concurrency:
1313
env:
1414
RELEASE_TYPE: "alpha"
1515
MINECRAFT_VERSION: "1.20.1"
16-
RELEASE_ON_GITHUB: "true"
17-
RELEASE_ON_CURSEFORGE: "true"
18-
RELEASE_ON_MODRINTH: "false"
19-
DEV_ENVIRONMENT: ${{ github.branch != 'main' }}
16+
DEV_ENVIRONMENT: ${{ github.ref_name != 'main' }}
2017

2118
jobs:
2219
info:
@@ -28,7 +25,7 @@ jobs:
2825
project_full_name: ${{ steps.pakku_info.outputs.name }}-${{ steps.check.outputs.version }}
2926
changelog: ${{ steps.changelog.outputs.description }}
3027
diff: ${{ steps.read_diff.outputs.diff }}
31-
exists: ${{ steps.check_tag.outputs.exists }}
28+
release_exists: ${{ steps.check_tag.outputs.exists == 'true' && env.DEV_ENVIRONMENT == 'false' }}
3229

3330
steps:
3431
- name: Checkout
@@ -147,7 +144,7 @@ jobs:
147144
id: determine_version
148145
shell: bash
149146
run: |
150-
if [ ${{ github.env.DEV_ENVIRONMENT == 'true' }} ]; then
147+
if [ ${{ env.DEV_ENVIRONMENT }} || steps.pakku_info.outputs.version ]; then
151148
echo "version=unreleased" >> $GITHUB_OUTPUT
152149
else
153150
echo "version=${{ steps.pakku_info.outputs.version }}" >> $GITHUB_OUTPUT
@@ -165,11 +162,11 @@ jobs:
165162
id: check
166163
shell: bash
167164
run: |
168-
if [ ${{ github.env.DEV_ENVIRONMENT == 'true' }} ]; then
165+
if [ ${{ env.DEV_ENVIRONMENT }} || ${{ steps.changelog.outcome }} == 'failure' ]; then
169166
echo "version=build_#${{ github.run_number }}" >> $GITHUB_OUTPUT
170167
echo "status=Unreleased" >> $GITHUB_OUTPUT
171168
else
172-
echo "status=${{ steps.changelog.outputs.status }}" >> $GITHUB_OUTPUT
169+
echo "status=${{ env.RELEASE_TYPE }}" >> $GITHUB_OUTPUT
173170
echo "version=${{ steps.pakku_info.outputs.version }}" >> $GITHUB_OUTPUT
174171
fi
175172
@@ -192,6 +189,10 @@ jobs:
192189
📃 **Release Type**: `${{ steps.check.outputs.status }}`
193190
📃 **Game Version**: `${{ steps.pakku_lock_info.outputs.mc_versions }}`
194191
192+
📃 **Dev Environment**: `${{ env.DEV_ENVIRONMENT }}`
193+
📃 **Tag Exists**: `${{ steps.check_tag.outputs.exists }}`
194+
195+
195196
${{ steps.changelog.outputs.description }}
196197
${{ steps.format_diff.outputs.text }}
197198
@@ -200,7 +201,6 @@ jobs:
200201
name: 📦 Build Modpack
201202
needs: [info]
202203
runs-on: ubuntu-latest
203-
204204
steps:
205205
- name: Checkout
206206
uses: actions/checkout@v4.2.2
@@ -214,7 +214,7 @@ jobs:
214214
sed -i -e "s/\"version\": \"[0-9.]*\"/\"version\": \"${VERSION}\"/g" pakku.json
215215
sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt
216216
217-
- name: Cache pakku
217+
- name: 📝 Cache pakku
218218
uses: actions/cache@v4.2.3
219219
id: cache
220220
with:
@@ -255,7 +255,6 @@ jobs:
255255
name: 📦 Build Server
256256
needs: [info]
257257
runs-on: ubuntu-latest
258-
259258
steps:
260259
- name: Checkout
261260
uses: actions/checkout@v4.2.2
@@ -269,7 +268,7 @@ jobs:
269268
sed -i -e "s/\"version\": \"[0-9.]*\"/\"version\": \"${VERSION}\"/g" pakku.json
270269
sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt
271270
272-
- name: Cache pakku
271+
- name: 📝 Cache pakku
273272
uses: actions/cache@v4.2.3
274273
id: cache
275274
with:
@@ -299,7 +298,6 @@ jobs:
299298
name: 📦 Build MultiMC
300299
needs: [info]
301300
runs-on: ubuntu-latest
302-
303301
steps:
304302
- name: Checkout
305303
uses: actions/checkout@v4.2.2
@@ -314,7 +312,7 @@ jobs:
314312
sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt
315313
sed -i -e "s/DEV/${VERSION}/g" .pakku/multimc-overrides/instance.cfg
316314
317-
- name: Cache pakku
315+
- name: 📝 Cache pakku
318316
uses: actions/cache@v4.2.3
319317
id: cache
320318
with:
@@ -350,7 +348,7 @@ jobs:
350348
name: 🚀 Release to GitHub
351349
needs: [info, build-modpack, build-server, build-multimc]
352350
runs-on: ubuntu-latest
353-
if: github.env.RELEASE_ON_GITHUB && !github.env.DEV_ENVIRONMENT && !needs.info.outputs.exists
351+
if: needs.info.outputs.release_exists == 'false'
354352
outputs:
355353
url: ${{ steps.release.outputs.url }}
356354

@@ -419,7 +417,7 @@ jobs:
419417
name: 🚀 Release to CurseForge
420418
needs: [info, build-modpack, build-server, release-github]
421419
runs-on: ubuntu-latest
422-
if: github.env.RELEASE_ON_CURSEFORGE && !github.env.DEV_ENVIRONMENT && !needs.info.outputs.exists
420+
if: needs.info.outputs.release_exists == 'false'
423421
outputs:
424422
id: ${{ steps.release.outputs.id }}
425423

@@ -469,7 +467,7 @@ jobs:
469467
name: 🚀 Release to Modrinth
470468
needs: [info, build-modpack, build-server, release-github]
471469
runs-on: ubuntu-latest
472-
if: github.env.RELEASE_ON_MODRINTH && !github.env.DEV_ENVIRONMENT && !needs.info.outputs.exists
470+
if: false
473471
outputs:
474472
id: ${{ steps.release.outputs.id }}
475473

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## [Unreleased]
44
### Changes
55

6+
## [0.9.1] - 18.04.2025
7+
### Changes
8+
- Manifest fix.
69

710
## [0.9.0] - 18.04.2025
811
### Warning for upgrading your world

pakku-lock.json

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -2220,67 +2220,6 @@
22202220
}
22212221
]
22222222
},
2223-
{
2224-
"pakku_id": "M4PNTNZvxOW9zDWV",
2225-
"type": "MOD",
2226-
"side": "BOTH",
2227-
"slug": {
2228-
"curseforge": "chalk",
2229-
"modrinth": "chalk-mod"
2230-
},
2231-
"name": {
2232-
"curseforge": "Chalk",
2233-
"modrinth": "Chalk"
2234-
},
2235-
"id": {
2236-
"curseforge": "533748",
2237-
"modrinth": "YWGP4Y1d"
2238-
},
2239-
"files": [
2240-
{
2241-
"type": "modrinth",
2242-
"file_name": "chalk-1.20.1-1.6.5.jar",
2243-
"mc_versions": [
2244-
"1.20.1"
2245-
],
2246-
"loaders": [
2247-
"forge"
2248-
],
2249-
"release_type": "release",
2250-
"url": "https://cdn.modrinth.com/data/YWGP4Y1d/versions/HA8yrJaB/chalk-1.20.1-1.6.5.jar",
2251-
"id": "HA8yrJaB",
2252-
"parent_id": "YWGP4Y1d",
2253-
"hashes": {
2254-
"sha512": "49220d73636378eae9f55d3dbeedaddcc2afa8949dc656d1ea2c64625aeda210bee3d28e7f704d0ec652020173025235a1d6fd0ef94797409c08defac622fe57",
2255-
"sha1": "e4dee75dfe5f8ca8ec21f89ff877d3564bd5c9df"
2256-
},
2257-
"required_dependencies": [],
2258-
"size": 321480,
2259-
"date_published": "2024-12-10T13:00:12.908950Z"
2260-
},
2261-
{
2262-
"type": "curseforge",
2263-
"file_name": "chalk-1.20.1-1.6.5.jar",
2264-
"mc_versions": [
2265-
"1.20.1"
2266-
],
2267-
"loaders": [
2268-
"forge"
2269-
],
2270-
"release_type": "release",
2271-
"url": "https://edge.forgecdn.net/files/5979/807/chalk-1.20.1-1.6.5.jar",
2272-
"id": "5979807",
2273-
"parent_id": "533748",
2274-
"hashes": {
2275-
"sha1": "e4dee75dfe5f8ca8ec21f89ff877d3564bd5c9df",
2276-
"md5": "cd1b8ce2f43d8dd29935778f3575d4f0"
2277-
},
2278-
"required_dependencies": [],
2279-
"size": 321480,
2280-
"date_published": "2024-12-10T12:59:38.420Z"
2281-
}
2282-
]
2283-
},
22842223
{
22852224
"pakku_id": "uNx0hefaZ7i6Gtgo",
22862225
"type": "MOD",

pakku.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "TerraFirmaGreg-Modern",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"description": "An innovative modpack that contains GregTech and TerraFirmaCraft on 1.20.x.",
55
"author": "Exception, Xikaro",
66
"overrides": [

0 commit comments

Comments
 (0)