Skip to content

Commit

Permalink
Airbyte CI: fix repo_dir access before assignment (#38783)
Browse files Browse the repository at this point in the history
  • Loading branch information
erohmensing authored May 30, 2024
1 parent 7ddca97 commit 1d36fa9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion airbyte-ci/connectors/pipelines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,8 @@ E.G.: running Poe tasks on the modified internal packages of the current branch:
## Changelog

| Version | PR | Description |
| ------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
|---------|------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
| 4.15.6 | [#38783](https://github.com/airbytehq/airbyte/pull/38783) | Fix a variable access error with `repo_dir` in the `bump_version` command. |
| 4.15.5 | [#38732](https://github.com/airbytehq/airbyte/pull/38732) | Update metadata deploy pipeline to 3.10 |
| 4.15.4 | [#38646](https://github.com/airbytehq/airbyte/pull/38646) | Make airbyte-ci able to test external repos. |
| 4.15.3 | [#38645](https://github.com/airbytehq/airbyte/pull/38645) | Fix typo preventing correct secret mounting on Python connectors integration tests. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,9 @@ def __init__(
self.export = export

async def get_repo_dir(self) -> Directory:
if not self.repo_dir:
repo_dir = await self.context.get_repo_dir()
self.repo_dir = repo_dir
return repo_dir
if self.repo_dir is None:
self.repo_dir = await self.context.get_repo_dir()
return self.repo_dir

async def _run(self) -> StepResult:
result = await self.update_metadata()
Expand Down
2 changes: 1 addition & 1 deletion airbyte-ci/connectors/pipelines/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pipelines"
version = "4.15.5"
version = "4.15.6"
description = "Packaged maintained by the connector operations team to perform CI for connectors' pipelines"
authors = ["Airbyte <contact@airbyte.io>"]

Expand Down

0 comments on commit 1d36fa9

Please sign in to comment.