From d70a93159145abe27323febd47ea0f8a1b7697ec Mon Sep 17 00:00:00 2001 From: PickleRick Date: Sat, 19 Sep 2026 14:11:41 +0200 Subject: [PATCH] ci: trigger release only on v* tag push --- .github/workflows/release.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2e5410..83ff2cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,16 +2,8 @@ name: Release Plugins on: push: - branches: - - main tags: - 'v*' - workflow_dispatch: - inputs: - version: - description: 'Release version (e.g. v1.0.1). Leave blank to use the tag or "latest".' - required: false - default: '' jobs: release: @@ -25,14 +17,7 @@ jobs: # ── Determine the release tag ───────────────────────────────────────── - name: Determine release tag id: tag - run: | - if [[ "${GITHUB_REF}" == refs/tags/* ]]; then - echo "tag=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT" - elif [[ -n "${{ github.event.inputs.version }}" ]]; then - echo "tag=${{ github.event.inputs.version }}" >> "$GITHUB_OUTPUT" - else - echo "tag=latest" >> "$GITHUB_OUTPUT" - fi + run: echo "tag=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT" # ── Build ZIP archives ──────────────────────────────────────────────── - name: Create plugin ZIPs