Skip to content

Commit

Permalink
bugfix check leading v in tag in conda-build workflow 🍙
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas.gehrig committed Dec 4, 2023
1 parent e46b935 commit d40a74a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:
buildNumber:
type: string
required: true
description: "build-nr: anaconda.org build-nr (SET CORRECTLY)"
description: "build-nr: anaconda.org build-nr (DON'T trigger build if you don't know how to set it)"
version:
type: string
required: true
description: "version: PEP440 package-version (incl. leading 'v')"
description: "version: PEP440 package-version incl. leading 'v' (DON'T trigger build if you don't know what PEP440 is)"
buildDocker:
type: boolean
required: false
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
BUILD_DOCKER=${{ inputs.buildDocker }}
LATEST_DOCKER=${{ inputs.latestDocker }}
fi
if [[ ${KARABO_TAG:1} == "v" ]]; then
if [[ ${KARABO_TAG:0:1} == "v" ]]; then
KARABO_VERSION="${KARABO_TAG:1}"
else
echo "invalid karabo-tag: has no leading v"
Expand Down

0 comments on commit d40a74a

Please sign in to comment.