Skip to content

Commit

Permalink
Update also coffea version in environment.yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
oshadura committed Mar 7, 2024
1 parent b78e62f commit 7b619bb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/watch-conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ jobs:
replace: ${{ steps.latest_version.outputs.version }}
regex: false

- name: Find and Replace Release 0.x release
if: ${{ startsWith(steps.latest_version.outputs.version, '0.') }}
uses: jacobtomlinson/[email protected]
with:
find: "coffea==*"
replace: "coffea==${{ steps.latest_version.outputs.version }}"
include: "coffea-base/**"

- name: Find and Replace Release Calver release
if: ${{ startsWith(steps.latest_version.outputs.version, '20') }}
uses: jacobtomlinson/[email protected]
Expand All @@ -41,6 +49,14 @@ jobs:
replace: ${{ steps.latest_version.outputs.version }}
regex: false

- name: Find and Replace Release Calver release
if: ${{ startsWith(steps.latest_version.outputs.version, '0.') }}
uses: jacobtomlinson/[email protected]
with:
find: "coffea==*"
replace: "coffea==${{ steps.latest_version.outputs.version }}"
include: "coffea-dask/**"

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
Expand Down

0 comments on commit 7b619bb

Please sign in to comment.