Skip to content

Commit

Permalink
added dev tag again with cehck for strings in commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
VinzentRisch committed Jul 2, 2024
1 parent 61fd9d3 commit b6acca3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
test:
runs-on: ubuntu-latest
outputs:
latest-dev-tag: 2024.2.0
latest-dev-tag: 2024.5.0.dev0
latest-stable-tag: 2024.2.0
commit-msg: ${{ steps.get-commit-msg.outputs.commit-msg }}
steps:
Expand All @@ -37,7 +37,13 @@ jobs:
- name: Create conda yaml
id: create-conda-yaml
run: |
bash utilities/ci/get-dependencies.sh "$DISTRO" "2024.2.0" utilities/ci/repositories.yaml
commit_msg="${{ steps.get-commit-msg.outputs.commit-msg }}"
if [[ "$commit_msg" == *"[stable]"* ]] || [[ "$commit_msg" == *"[prod]"* ]]; then
tag="${{ steps.fetch-tags.outputs.latest-stable-tag }}"
else
tag="${{ steps.fetch-tags.outputs.latest-dev-tag }}"
fi
bash utilities/ci/get-dependencies.sh "$DISTRO" $tag utilities/ci/repositories.yaml
cat environment.yml >> $GITHUB_STEP_SUMMARY
echo "qiime-deps=$(tr '\n' ' ' < repo-urls.txt | xargs)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit b6acca3

Please sign in to comment.