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