forked from public/fvtt-cthulhu-eternal
Auto release script
This commit is contained in:
parent
401a94da40
commit
0ec2d53415
@ -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}}'
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user