Skip to content

Commit 4f36422

Browse files
fix: copy local meta.yaml in release workflow for bioconda PR
The release workflow was only sed-patching version/sha256 into whatever meta.yaml existed upstream in bioconda-recipes. Structural changes (deps, build flags) from our local recipes/smaca/meta.yaml were never propagated, causing py313 builds to fail (missing setuptools). Now the workflow checks out this repo and copies our local meta.yaml before applying version/sha256/build-number substitutions.
1 parent 36f7914 commit 4f36422

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ jobs:
103103
GH_TOKEN: ${{ secrets.GH_PAT }}
104104
run: gh repo sync ${FORK_USER}/bioconda-recipes --source bioconda/bioconda-recipes --branch master
105105

106+
- name: Checkout SMAca repo
107+
uses: actions/checkout@v4
108+
with:
109+
path: smaca-repo
110+
106111
- name: Checkout fork of bioconda-recipes
107112
uses: actions/checkout@v4
108113
with:
@@ -113,6 +118,7 @@ jobs:
113118
- name: Update recipe
114119
working-directory: bioconda-recipes
115120
run: |
121+
cp ../smaca-repo/recipes/smaca/meta.yaml recipes/smaca/meta.yaml
116122
sed -i "s/^{% set version = .* %}/{% set version = \"${VERSION}\" %}/" recipes/smaca/meta.yaml
117123
sed -i "s/sha256: .*/sha256: ${SHA256}/" recipes/smaca/meta.yaml
118124
sed -i "s/^ number: .*/ number: 0/" recipes/smaca/meta.yaml

0 commit comments

Comments
 (0)