diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/release.yaml similarity index 70% rename from .gitea/workflows/publish.yaml rename to .gitea/workflows/release.yaml index 6f1cc39..1c830b5 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/release.yaml @@ -1,12 +1,12 @@ -# SPDX-FileCopyrightText: 2023 Max Mehl +# SPDX-FileCopyrightText: 2024 Max Mehl # # SPDX-License-Identifier: Apache-2.0 -name: Python package +name: Publish release on PyPI on: - push: - tags: - - "v*.*.*" + release: + types: [published] + jobs: build: runs-on: ubuntu-latest