Skip to content

Commit 85bce7f

Browse files
authored
[BLD]: Chroma release WF exit with error on tag not matching pattern (#2166)
## Description of changes *Summarize the changes made by this PR.* - Improvements & Bug fixes - Added else condition with exit 1 on tag not matching - fixes https://github.com/chroma-core/chroma/actions/runs/8997234036 *How are these changes tested?* - [ ] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust ## Documentation Changes N/A
1 parent e982f0a commit 85bce7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release-chromadb.yml

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
run: |
2424
if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
2525
echo "tag_matches=true" >> $GITHUB_OUTPUT
26+
else
27+
echo "Tag does not match the release tag pattern ([0-9]+\.[0-9]+\.[0-9]+), exiting workflow"
28+
exit 1
2629
fi
2730
2831
get-version:

0 commit comments

Comments
 (0)