Skip to content

Commit 0f96148

Browse files
authored
Fixed stable conda release (#3468)
1 parent 48be490 commit 0f96148

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/stable-release-anaconda.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,7 @@ jobs:
1414
uses: conda-incubator/setup-miniconda@v3
1515
with:
1616
miniconda-version: "latest"
17-
python-version: "3.10"
18-
19-
- name: Install dependencies
20-
shell: bash -l {0}
21-
run: |
22-
conda install -y pytorch torchvision cpuonly -c pytorch
23-
pip install .
17+
python-version: "3.13"
2418

2519
- name: Build and Publish Conda binaries
2620
shell: bash -l {0}

conda.recipe/build_and_upload.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ fi
2020

2121
set -xeu
2222

23+
# Set version in meta.yaml
24+
version=$(sed -nE 's/__version__ = "(.*)"/\1/p' ignite/__init__.py)
25+
sed -i "s/__version__ = \"\(.*\)\"/__version__ = \"$version\"/g" conda.recipe/meta.yaml
26+
cat conda.recipe/meta.yaml | grep version
27+
2328
conda install -y conda-build conda-verify anaconda-client conda-package-handling
2429
conda config --set anaconda_upload no
2530

conda.recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set __version__ = "0.6.0" %}
1+
{% set __version__ = "0.5.3" %}
22

33
package:
44
name: ignite

0 commit comments

Comments
 (0)