Skip to content

Commit

Permalink
don't check for BC entries for prerelease versions (#29566)
Browse files Browse the repository at this point in the history
  • Loading branch information
erohmensing committed Aug 20, 2023
1 parent 9aad31c commit 70a7e9a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def validate_all_tags_are_keyvalue_pairs(
def is_major_version(version: str) -> bool:
"""Check whether the version is of format N.0.0"""
semver_version = semver.Version.parse(version)
return semver_version.minor == 0 and semver_version.patch == 0
return semver_version.minor == 0 and semver_version.patch == 0 and semver_version.prerelease is None


def validate_major_version_bump_has_breaking_change_entry(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
metadataSpecVersion: 1.0
data:
name: AlloyDB for PostgreSQL
definitionId: 1fa90628-2b9e-11ed-a261-0242ac120002
connectorType: source
dockerRepository: airbyte/image-exists-1
githubIssueLabel: source-alloydb-strict-encrypt
dockerImageTag: 2.0.0-dev.cf3628ccf3
documentationUrl: https://docs.airbyte.com/integrations/sources/alloydb
connectorSubtype: database
releaseStage: generally_available
license: MIT
releases:
breakingChanges:
2.0.0:
upgradeDeadline: 2023-08-22
message: "This version changes the connector’s authentication method from `ApiKey` to `oAuth`, per the [API guide](https://amazon-sqs.com/api/someguide)."
tags:
- language:java

0 comments on commit 70a7e9a

Please sign in to comment.