Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter committed Jan 15, 2024
1 parent ab4bd79 commit 6de583a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def from_connector_context(connector_context: ConnectorContext) -> "PyPIPublishC
build_docker_image = connector_context.connector.metadata["connectorBuildOptions"]["baseImage"]
else:
build_docker_image = "mwalbeck/python-poetry"
return PyPIPublishContext(
pypi_context = PyPIPublishContext(
pypi_token=os.environ["PYPI_TOKEN"],
test_pypi=True, # TODO: Go live
package_path=str(connector_context.connector.code_directory),
Expand All @@ -85,6 +85,7 @@ def from_connector_context(connector_context: ConnectorContext) -> "PyPIPublishC
ci_context=connector_context.ci_context,
ci_gcs_credentials=connector_context.ci_gcs_credentials,
)
pypi_context.dagger_client = connector_context.dagger_client


class PublishToPyPI(Step):
Expand Down

0 comments on commit 6de583a

Please sign in to comment.