Skip to content

Commit 1f922d0

Browse files
committed
update
1 parent 9887cd7 commit 1f922d0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/build_wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ jobs:
232232

233233
publish_wheels:
234234
name: Publish wheels to PyPI
235-
needs: [build_wheels_windows]
236-
# needs: [build_linux_amd64, build_linux_arm, build_wheels_macos, build_wheels_windows]
235+
# needs: [build_wheels_windows]
236+
needs: [build_linux_amd64, build_linux_arm, build_wheels_macos, build_wheels_windows]
237237
runs-on: ubuntu-latest
238238
# Only run on 'v*' tags, matching the trigger.
239239
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')

python/setup_custom.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,12 @@ def build_extension(self, ext: setuptools.Extension):
115115
# Add the patterns to the main package's data, so the Go shared library is included.
116116
PACKAGE_DATA[PKG_NAME] = lib_patterns
117117

118+
pkg_version = os.environ.get("PACKAGE_VERSION", "0.3.2")
119+
print(f"pkg_version: {pkg_version}")
120+
118121
setuptools.setup(
119122
name=normalize(PKG_NAME),
120-
version=os.environ.get("PACKAGE_VERSION", "0.3.0"), # 版本号由CI根据tag自动设置
123+
version=pkg_version, # 版本号由CI根据tag自动设置
121124
author="banbot",
122125
author_email="banbot@163.com",
123126
description="python bindings for banta",

0 commit comments

Comments
 (0)