Skip to content

Commit

Permalink
fix set_version for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Mar 22, 2022
1 parent dfd1631 commit e1461fa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,14 @@ jobs:
toolchain: stable
override: true

- run: curl -Lso set_version.py https://git.io/JT3rm
if: "startsWith(github.ref, 'refs/tags/')"

- run: python set_version.py
if: "startsWith(github.ref, 'refs/tags/')"
env:
VERSION_PATH: watchgod/version.py

- run: rustup target add aarch64-apple-darwin
if: matrix.os == 'macos'

Expand All @@ -168,10 +176,6 @@ jobs:

- run: pip install -U setuptools wheel twine cibuildwheel

- name: set version with tag
if: "startsWith(github.ref, 'refs/tags/')"
run: VERSION_PATH='watchgod/version.py' python <(curl -Ls https://git.io/JT3rm)

- name: build sdist
if: matrix.os == 'ubuntu' && matrix.python-version == '9'
run: python setup.py sdist
Expand Down

0 comments on commit e1461fa

Please sign in to comment.