Skip to content

Commit

Permalink
Switch to PowerShell
Browse files Browse the repository at this point in the history
  • Loading branch information
movermeyer committed Oct 6, 2023
1 parent f4ca7a5 commit 5b6af44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ jobs:
name: release_values

- name: Load normalized release values
run: |
for /F "tokens=*" %%A in (release_values.txt) do echo %%A >> $env:GITHUB_ENV
run: foreach($line in [System.IO.File]::ReadLines("release_values.txt")){ echo $line >> $env:GITHUB_ENV }

- name: Replace version in pyproject.toml (developmental releases)
run: sed -i -e 's/^version = ".*\?"$/version = "${{ env.version_to_use }}"/g' pyproject.toml
Expand Down

0 comments on commit 5b6af44

Please sign in to comment.