From 380bd3f944557fcfce6246d49e3529f9483be097 Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Wed, 13 Jul 2022 18:15:53 -0500 Subject: [PATCH] ci: working on creating releases --- .woodpecker.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 0c85ba9..1d98144 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -11,6 +11,8 @@ pipeline: image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest commands: - nix develop --command scripts/release.sh + when: + branch: main gitea: image: plugins/gitea-release settings: @@ -18,6 +20,7 @@ pipeline: from_secret: gitea_token base_url: https://src.mfgames.com files: exit-planning*.* - -branches: - - main + when: + event: tag + branch: main + tag: v*