Skip to content

Commit e2eb7ae

Browse files
authored
Update release_conda.yml
1 parent 0c98b6f commit e2eb7ae

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/release_conda.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Checkout repository
2424
uses: actions/checkout@v3
2525
with:
26-
fetch-depth: 0 # necesario para que git describe detecte todos los tags
26+
fetch-depth: 0 # necesario para git describe
2727

2828
- name: Set up Miniconda
2929
uses: conda-incubator/setup-miniconda@v3
@@ -43,9 +43,7 @@ jobs:
4343

4444
- name: Set dynamic version in meta.yaml
4545
run: |
46-
# Elimina la 'v' inicial si quieres solo números
47-
VERSION_NUMBER="${GIT_DESCRIBE_TAG#v}"
48-
# Reemplaza la línea de version en meta.yaml
46+
VERSION_NUMBER="${GIT_DESCRIBE_TAG#v}" # elimina la 'v' inicial
4947
sed -i "s|^{% set version.*%}|{% set version = \"$VERSION_NUMBER\" %}|" .github/conda/meta.yaml
5048
5149
- name: Build conda package

0 commit comments

Comments
 (0)