Skip to content

Commit b4c81d0

Browse files
committed
fix
1 parent 8ca6888 commit b4c81d0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/conda_release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
VERSION: ${{ steps.vars.outputs.VERSION }}
101101
REPO_NAME: ${{ steps.vars.outputs.REPO_NAME }}
102102
run: |
103-
PKG=$(ls conda-build-artifacts/${{ matrix.platform.subdir }}/${{ env.REPO_NAME }}_cpp-${{ env.VERSION }}-*.tar.bz2)
104-
anaconda -t $ANACONDA_TOKEN upload "$PKG" --user $ANACONDA_USER --label main --force
105-
PKG=$(ls conda-build-artifacts/${{ matrix.platform.subdir }}/${{ env.REPO_NAME }}-${{ env.VERSION }}-*.tar.bz2)
106-
anaconda -t $ANACONDA_TOKEN upload "$PKG" --user $ANACONDA_USER --label main --force
103+
for PKG in conda-build-artifacts/${{ matrix.platform.subdir }}/*-${{ env.VERSION }}-*.tar.bz2; do
104+
echo "Uploading $PKG"
105+
anaconda -t $ANACONDA_TOKEN upload "$PKG" --user $ANACONDA_USER --label main --force
106+
done

conda-recipe/meta.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ outputs:
3737
# ---------------------------------------------------------
3838
# Output #1: Arch‐specific C++ executable (aligncount-cpp)
3939
# ---------------------------------------------------------
40-
- name: {{ REPO_NAME }}_cpp
40+
- name: aligncount_cpp
4141
requirements:
4242
host:
4343
- {{ compiler("cxx") }}
@@ -51,7 +51,7 @@ outputs:
5151
# ---------------------------------------------------------
5252
# Output #2: Noarch Python wrapper (aligncount_demo)
5353
# ---------------------------------------------------------
54-
- name: {{ REPO_NAME }}
54+
- name: aligncount
5555
build:
5656
noarch: python
5757
script: |
@@ -69,7 +69,7 @@ outputs:
6969
- setuptools
7070
run:
7171
- python >=3.9,<3.14
72-
- {{ pin_subpackage( REPO_NAME + "_cpp", exact=True) }}
72+
- {{ pin_subpackage("aligncount_cpp", exact=True) }}
7373

7474

7575
about:

0 commit comments

Comments
 (0)