Skip to content

Commit 6c6b790

Browse files
committed
docs: add edge cases note in versioning validation
1 parent 4f644a9 commit 6c6b790

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pre-release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ jobs:
8080
- name: Verifies pre-release version semantics
8181
# verify pre-release semantics before proceeding to avoid versioning pollution
8282
# e.g., 2.40.0a1 and 2.40.0b2 are valid while 2.40.0 is not
83+
# NOTE. we do it in a separate step to handle edge cases like
84+
# `poetry` CLI uses immutable install, versioning behaviour could change even in a minor version (we had breaking changes before)
85+
# a separate step allows us to pinpoint what happened (before/after)
8386
run: |
8487
if [[ ! "$RELEASE_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+[a-b].*$ ]]; then
8588
echo "Version $VERSION doesn't look like a pre-release version; aborting"

0 commit comments

Comments
 (0)