ci: working on creating releases

This commit is contained in:
D. Moonfire 2022-07-13 18:15:53 -05:00
parent 491cac41d5
commit 380bd3f944

View file

@ -11,6 +11,8 @@ pipeline:
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
commands: commands:
- nix develop --command scripts/release.sh - nix develop --command scripts/release.sh
when:
branch: main
gitea: gitea:
image: plugins/gitea-release image: plugins/gitea-release
settings: settings:
@ -18,6 +20,7 @@ pipeline:
from_secret: gitea_token from_secret: gitea_token
base_url: https://src.mfgames.com base_url: https://src.mfgames.com
files: exit-planning*.* files: exit-planning*.*
when:
branches: event: tag
- main branch: main
tag: v*