ci: release things

This commit is contained in:
Jack Bond-Preston 2022-07-07 22:35:31 +01:00
parent 13e8f9a8b8
commit 68033424ec
Signed by: jack
GPG Key ID: 010071F1482BA852

View File

@ -31,5 +31,17 @@ pipeline:
- cd MagicStorageVoidBag && dotnet build -c Release || true
- cp bin/Release/net6.0/MagicStorageVoidBag.dll .
- cd $CI_WORKSPACE
- cp ~/.local/share/Terraria/tModLoader/Mods/*.tmod .
- ls
- mkdir release
- cp ~/.local/share/Terraria/tModLoader/Mods/MagicStorageVoidBag.tmod release/
- cp MagicStorageVoidBag/MagicStorageVoidBag.dll release/
- ls release
gitea-release:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea-api-key
base_url: https://git.jackbondpreston.me
files: release/*
when:
event: tag