Skip to content

Commit 4c50d9b

Browse files
committed
Update build script to include overlay folders
1 parent 4053f45 commit 4c50d9b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,17 @@ jobs:
7171
uses: montudor/action-zip@v1
7272
if: steps.check_datapack_folder.outputs.files_exists == 'true'
7373
with:
74-
args: zip -qq "${{ github.event.repository.name }}-v${{ github.event.inputs.tag }}-mc${{ github.event.inputs.mc_version }}-datapack.zip" -r data pack.mcmeta pack.png LICENSE README.md
74+
args: zip -qq "${{ github.event.repository.name }}-v${{ github.event.inputs.tag }}-mc${{ github.event.inputs.mc_version }}-datapack.zip" -r data overlay_* pack.mcmeta pack.png LICENSE README.md
7575
- name: Create mod jar file
7676
uses: montudor/action-zip@v1
7777
if: steps.check_mod_folder.outputs.files_exists == 'true'
7878
with:
79-
args: zip -qq "${{ github.event.repository.name }}-v${{ github.event.inputs.tag }}-mc${{ github.event.inputs.mc_version }}-mod.jar" -r data assets META-INF net fabric.mod.json pack.mcmeta pack.png LICENSE README.md
79+
args: zip -qq "${{ github.event.repository.name }}-v${{ github.event.inputs.tag }}-mc${{ github.event.inputs.mc_version }}-mod.jar" -r data overlay_* assets META-INF net fabric.mod.json pack.mcmeta pack.png LICENSE README.md
8080
- name: Create asset pack zip file
8181
uses: montudor/action-zip@v1
8282
if: steps.check_assets_folder.outputs.files_exists == 'true'
8383
with:
84-
args: zip -qq "${{ github.event.repository.name }}-v${{ github.event.inputs.tag }}-mc${{ github.event.inputs.mc_version }}-resourcepack.zip" -r assets pack.mcmeta pack.png LICENSE README.md
84+
args: zip -qq "${{ github.event.repository.name }}-v${{ github.event.inputs.tag }}-mc${{ github.event.inputs.mc_version }}-resourcepack.zip" -r assets overlay_* pack.mcmeta pack.png LICENSE README.md
8585

8686
# Upload
8787
- name: Upload data pack version to Modrinth
@@ -140,6 +140,8 @@ jobs:
140140
version: ${{ github.event.inputs.tag }}
141141
changelog-file: CHANGELOG.*
142142

143+
loaders: |
144+
datapack
143145
files: |
144146
./${{ github.event.repository.name }}-*.zip
145147

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Hotfix for v1.8 - the data pack now actually includes the overlays for compatibility with 1.20.6 (closes [#34](https://github.com/Tschipcraft/dynamiclights/issues/34))
2+
13
- **Update to Minecraft 1.20.6 🐺**
24
These changes utilize overlays to maintain backwards compatibility
35
- Switched to testing components rather than NBT in predicates

0 commit comments

Comments
 (0)