Auto release script
All checks were successful
Release Creation / build (release) Successful in 45s

This commit is contained in:
LeRatierBretonnien 2025-01-25 18:34:18 +01:00
parent 401a94da40
commit 0ec2d53415
2 changed files with 6 additions and 6 deletions

View File

@ -23,19 +23,19 @@ jobs:
id: sub_manifest_link_version id: sub_manifest_link_version
uses: microsoft/variable-substitution@v1 uses: microsoft/variable-substitution@v1
with: with:
files: 'module.json' files: 'system.json'
env: env:
version: ${{steps.get_version.outputs.version-without-v}} version: ${{steps.get_version.outputs.version-without-v}}
url: https://www.uberwald.me/gitea/${{gitea.repository}} url: https://www.uberwald.me/gitea/${{gitea.repository}}
manifest: https://www.uberwald.me/gitea/uberwald/${{gitea.repository}}/releases/download/module.json 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 # Create a zip file with all files required by the module to add to the release
- run: | - run: |
apt update -y apt update -y
apt install -y zip 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 - name: setup go
uses: https://github.com/actions/setup-go@v4 uses: https://github.com/actions/setup-go@v4
@ -47,6 +47,6 @@ jobs:
uses: https://gitea.com/actions/release-action@main uses: https://gitea.com/actions/release-action@main
with: with:
files: |- files: |-
./module.zip ./system.zip
module.json system.json
api_key: '${{secrets.ALLOW_PUSH_RELEASE}}' api_key: '${{secrets.ALLOW_PUSH_RELEASE}}'

View File

@ -6,7 +6,7 @@
"download": "#{DOWNLOAD}#", "download": "#{DOWNLOAD}#",
"url": "https://www.uberwald.me/gitea/public/fvtt-cthulhu-eternal", "url": "https://www.uberwald.me/gitea/public/fvtt-cthulhu-eternal",
"license": "LICENSE", "license": "LICENSE",
"version": "12.0.3", "version": "12.0.4",
"authors": [ "authors": [
{ {
"name": "Uberwald", "name": "Uberwald",