From e2ab974f70877720a490ee950cb415e91c9d3a50 Mon Sep 17 00:00:00 2001 From: Nicole O'Connor Date: Fri, 16 Feb 2024 17:01:36 -0800 Subject: [PATCH] release pipeline now only runs on semver tags --- .woodpecker/make-pk3.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.woodpecker/make-pk3.yaml b/.woodpecker/make-pk3.yaml index a32a69a..40e4f54 100644 --- a/.woodpecker/make-pk3.yaml +++ b/.woodpecker/make-pk3.yaml @@ -4,17 +4,19 @@ steps: pull: true commands: - apt update && apt upgrade -y && apt install -y zip - - xargs -a .pk3include -I% find . -wholename ./% | zip zorch_squadron.pk3 -@ + - xargs -a .pk3include -I% find . -wholename ./% | zip zorch_squadron.${CI_COMMIT_TAG}.pk3 -@ when: - - event: [tag] + - event: tag + ref: refs/tags/v*.*.* publish: image: woodpeckerci/plugin-gitea-release when: - - event: [tag] + - event: tag + ref: refs/tags/v*.*.* settings: base_url: https://vcs.otl-hga.net files: - - "zorch_squadron.pk3" + - "zorch_squadron.*.pk3" prerelease: true target: trunk api_key: