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
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}}'

View File

@ -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",