From 0ec2d53415e8f477ef23a839d8796938d776193c Mon Sep 17 00:00:00 2001
From: LeRatierBretonnien <sylvain@lahiette.com>
Date: Sat, 25 Jan 2025 18:34:18 +0100
Subject: [PATCH] Auto release script

---
 .gitea/workflows/release.yaml | 10 +++++-----
 system.json                   |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml
index 2035ae2..cc47336 100644
--- a/.gitea/workflows/release.yaml
+++ b/.gitea/workflows/release.yaml
@@ -23,19 +23,19 @@ jobs:
       id: sub_manifest_link_version
       uses: microsoft/variable-substitution@v1
       with:
-        files: 'module.json'
+        files: 'system.json'
       env:
         version: ${{steps.get_version.outputs.version-without-v}}
         url: https://www.uberwald.me/gitea/${{gitea.repository}}
         manifest: https://www.uberwald.me/gitea/uberwald/${{gitea.repository}}/releases/download/module.json
-        download: https://www.uberwald.me/gitea/uberwald/${{gitea.repository}}/releases/download/module.zip
+        download: https://www.uberwald.me/gitea/uberwald/${{gitea.repository}}/releases/download/system.zip
     
     # Create a zip file with all files required by the module to add to the release
     - run: |
          apt update -y
          apt install -y zip
 
-    - run: zip -r ./module.zip module.json README.md LICENSE assets/ css/ fonts/ lang/ module/ packs-system/ templates/ cthulhu-eternal.mjs
+    - run: zip -r ./system.zip system.json README.md LICENSE assets/ css/ fonts/ lang/ module/ packs-system/ templates/ cthulhu-eternal.mjs
     
     - name: setup go
       uses: https://github.com/actions/setup-go@v4
@@ -47,6 +47,6 @@ jobs:
       uses: https://gitea.com/actions/release-action@main
       with:
         files: |-
-          ./module.zip
-          module.json
+          ./system.zip
+          system.json
         api_key: '${{secrets.ALLOW_PUSH_RELEASE}}'
diff --git a/system.json b/system.json
index 0983aed..729a019 100644
--- a/system.json
+++ b/system.json
@@ -6,7 +6,7 @@
   "download": "#{DOWNLOAD}#",
   "url": "https://www.uberwald.me/gitea/public/fvtt-cthulhu-eternal",
   "license": "LICENSE",
-  "version": "12.0.3",
+  "version": "12.0.4",
   "authors": [
     {
       "name": "Uberwald",