From 5c57a35aef00d3dda60accccc5c92905a122e824 Mon Sep 17 00:00:00 2001 From: Kye Russell Date: Mon, 1 Apr 2024 19:39:55 +0800 Subject: [PATCH] updated. --- .github/workflows/release.yaml | 10 ++++++++-- src/boomgate/__about__.py | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1ab9920..f25ac1b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,8 +1,9 @@ name: Upload Python package on: - release: - types: [published] + push: + tags: + - "v*.*.*" permissions: contents: read @@ -39,5 +40,10 @@ jobs: uses: actions/download-artifact@v4 with: name: dist + - name: Publish GitHub release + uses: softprops/action-gh-release@v1 + with: + files: dist/* + fail_on_unmatched_files: true - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/src/boomgate/__about__.py b/src/boomgate/__about__.py index 1908df5..7e66fea 100644 --- a/src/boomgate/__about__.py +++ b/src/boomgate/__about__.py @@ -1 +1 @@ -__version__ = "0.0.1-dev1" +__version__ = "v0.0.1-dev1"