this repo has no description

fix: use correct env vars for spindle

+7 -5
+7 -5
.tangled/workflows/conda-release.yml
··· 24 24 steps: 25 25 - name: "Get version from tag" 26 26 command: | 27 - TAG=${GITEA_REF_NAME:-${GITHUB_REF_NAME:-unknown}} 27 + # Spindle uses REF_NAME for the tag 28 + TAG="${REF_NAME:-${GITEA_REF_NAME:-${GITHUB_REF_NAME:-unknown}}}" 28 29 echo "Building from tag: ${TAG}" 29 - VERSION=${TAG#v} 30 - echo "VERSION=${VERSION}" >> $GITEA_ENV 30 + VERSION="${TAG#v}" 31 + echo "Package version: ${VERSION}" 31 32 32 33 - name: "Update recipe version" 33 34 command: | 34 - TAG=${GITEA_REF_NAME:-${GITHUB_REF_NAME:-unknown}} 35 - VERSION=${TAG#v} 35 + TAG="${REF_NAME:-${GITEA_REF_NAME:-${GITHUB_REF_NAME:-unknown}}}" 36 + VERSION="${TAG#v}" 36 37 sed -i "s/version: \"\"/version: \"${VERSION}\"/" recipe/recipe.release.yaml 38 + cat recipe/recipe.release.yaml 37 39 38 40 - name: "Build conda package" 39 41 command: |