We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe1a497 commit 5565db3Copy full SHA for 5565db3
1 file changed
.github/workflows/pixi.yml
@@ -85,6 +85,14 @@ jobs:
85
- name: Checkout
86
uses: actions/checkout@v4
87
88
+ - name: Update recipe version & sha256
89
+ run: |
90
+ VERSION="${GITHUB_REF_NAME#v}"
91
+ SHA256=$(curl -sL "https://pypi.org/packages/source/k/kececinumbers/kececinumbers-${VERSION}.tar.gz" | sha256sum | cut -d' ' -f1)
92
+ sed -i "s/version: \".*\"/version: \"${VERSION}\"/" conda.recipe/recipe.yaml
93
+ sed -i "s/sha256: .*/sha256: ${SHA256}/" conda.recipe/recipe.yaml
94
+ echo "Version: $VERSION, SHA256: $SHA256"
95
+
96
- name: Build conda package
97
uses: prefix-dev/rattler-build-action@v0.2.38
98
with:
0 commit comments