Skip to content

Commit 8ca6888

Browse files
committed
fix
1 parent 6e57440 commit 8ca6888

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/conda_release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,5 +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 }}-${{ env.VERSION }}-*.tar.bz2)
103+
PKG=$(ls conda-build-artifacts/${{ matrix.platform.subdir }}/${{ env.REPO_NAME }}_cpp-${{ env.VERSION }}-*.tar.bz2)
104104
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

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: aligncount_cpp
40+
- name: {{ REPO_NAME }}_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: aligncount
54+
- name: {{ REPO_NAME }}
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("aligncount_cpp", exact=True) }}
72+
- {{ pin_subpackage( REPO_NAME + "_cpp", exact=True) }}
7373

7474

7575
about:

0 commit comments

Comments
 (0)