This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to tag v0.10.0 in repository https://gitbox.apache.org/repos/asf/fury.git
commit c981a214bf2ab3ba83e188494e71d2a2a36680ed Author: chaokunyang <[email protected]> AuthorDate: Thu Feb 6 21:32:10 2025 +0800 fix git tag on windows --- .github/workflows/release.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 82262b18..f12e1ed1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -41,14 +41,15 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install bazel - run: ./ci/run_ci.sh install_bazel - - name: Update version in setup.py + shell: bash run: | - tag=$(git describe --tags --exact-match 2>/dev/null) - echo "tag: $tag" - version=${tag:1} - echo "version $version" - ci/deploy.sh bump_py_version $version + if [ "$RUNNER_OS" == "Windows" ]; then + ../ci/run_ci.sh install_bazel_windows + else + ../ci/run_ci.sh install_bazel + fi + - name: Update version in setup.py + run: ci/deploy.sh bump_py_version - name: Build a binary wheel run: | ci/deploy.sh install_pyarrow --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
