Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

airbyte-ci: add rc bump type to bump version #46709

Conversation

alafanechere
Copy link
Contributor

@alafanechere alafanechere commented Oct 10, 2024

What

We want the bump version command to now allow RC bump type.
If you want to release a release candidate version you would:

  • Do an initial bump of the projected bump type (major/minor/patch)
  • Then perform an RC bump type to add the -rc.1 suffix
  • Following RC bump on an RC version will increment the rc number -rc.1 > -rc.2

Copy link

vercel bot commented Oct 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Oct 15, 2024 0:58am

Copy link
Contributor Author

alafanechere commented Oct 10, 2024

@alafanechere alafanechere force-pushed the augustin/10-08-airbyte-ci_rework_RC_promotion branch from 5db8b0d to 81f1b5c Compare October 10, 2024 14:43
@alafanechere alafanechere force-pushed the augustin/10-10-airbyte-ci_add_rc_bump_type_to_bump_version branch from 58ebaaa to 73558be Compare October 10, 2024 14:43
@alafanechere alafanechere marked this pull request as ready for review October 10, 2024 14:45
@alafanechere alafanechere requested a review from a team as a code owner October 10, 2024 14:45
@alafanechere alafanechere force-pushed the augustin/10-10-airbyte-ci_add_rc_bump_type_to_bump_version branch 2 times, most recently from 9c08f64 to 5890181 Compare October 10, 2024 14:46
@octavia-squidington-iii octavia-squidington-iii removed the area/connectors Connector related issues label Oct 10, 2024
@alafanechere alafanechere force-pushed the augustin/10-10-airbyte-ci_add_rc_bump_type_to_bump_version branch from 5890181 to f5a5d3d Compare October 11, 2024 08:15
Copy link
Contributor

@clnoll clnoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@alafanechere alafanechere force-pushed the augustin/10-08-airbyte-ci_rework_RC_promotion branch from 0189a00 to 2ddecef Compare October 14, 2024 15:06
@alafanechere alafanechere force-pushed the augustin/10-10-airbyte-ci_add_rc_bump_type_to_bump_version branch from f5a5d3d to d128383 Compare October 14, 2024 15:07
@alafanechere alafanechere force-pushed the augustin/10-08-airbyte-ci_rework_RC_promotion branch from 2ddecef to 8e6a057 Compare October 14, 2024 15:23
@alafanechere alafanechere force-pushed the augustin/10-10-airbyte-ci_add_rc_bump_type_to_bump_version branch from d128383 to a19d9f9 Compare October 14, 2024 15:24
Base automatically changed from augustin/10-08-airbyte-ci_rework_RC_promotion to master October 14, 2024 16:27
return isinstance(node, str) and node.startswith("#/")

@staticmethod
def _is_ref_key(key: str) -> bool:
return bool(key == REF_TAG)

@staticmethod
def _read_ref_value(ref: str, manifest_node: Mapping[str, Any]) -> Any:
def _read_ref_value(ref: str, manifest_node: Mapping[str, Any]) -> Any: # noqa: ANN401
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change the linter rules instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we should more accurately type this module 😄

@alafanechere alafanechere force-pushed the augustin/10-10-airbyte-ci_add_rc_bump_type_to_bump_version branch from a19d9f9 to d68f244 Compare October 15, 2024 12:58
@alafanechere alafanechere enabled auto-merge (squash) October 15, 2024 12:58
@alafanechere alafanechere merged commit cbcb669 into master Oct 15, 2024
34 checks passed
@alafanechere alafanechere deleted the augustin/10-10-airbyte-ci_add_rc_bump_type_to_bump_version branch October 15, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants