We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86e75e9 commit 86b8103Copy full SHA for 86b8103
.github/workflows/conda_release.yml
@@ -40,8 +40,12 @@ jobs:
40
- name: Patch conda-recipe/meta.yaml
41
run: |
42
cd conda-recipe
43
- sed -i "s/^ version: .*/ version: ${{ steps.vars.outputs.VERSION }}/" meta.yaml
44
- sed -i "s/^ sha256: .*/ sha256: ${{ steps.vars.outputs.SHA256 }}/" meta.yaml
+
+ # Replace the Jinja “{% set version = "..." %}” line:
45
+ sed -i "s|^{% set version = \".*\" %}|{% set version = \"${{ steps.vars.outputs.VERSION }}\" %}|" meta.yaml
46
47
+ # Replace the “ sha256: ...” line (two‐space indentation under source:)
48
+ sed -i "s|^ sha256: .*| sha256: ${{ steps.vars.outputs.SHA256 }}|" meta.yaml
49
50
# 5) Build the conda package
51
- name: Build conda package
0 commit comments