-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: add link to project after a push #208
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,7 +117,7 @@ pub async fn run(opts: Options) -> anyhow::Result<()> { | |
tracing::info!("Creating component version..."); | ||
client | ||
.create_component_version_by_slug() | ||
.org_slug(organization.slug) | ||
.org_slug(organization.slug.clone()) | ||
.component_slug(&manifest.package.name) | ||
.body( | ||
api_types::ComponentVersionCreateInput::builder() | ||
|
@@ -132,9 +132,12 @@ pub async fn run(opts: Options) -> anyhow::Result<()> { | |
.api_context("Could not create version")?; | ||
|
||
tracing::info!( | ||
"{} {} pushed successfully!", | ||
"{} {} pushed successfully! You can view it at: https://edgee.cloud/~/{}/component-registry/{}/{}", | ||
manifest.package.name, | ||
manifest.package.version, | ||
organization.slug, | ||
organization.slug, | ||
manifest.package.name, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this ok to use in the URL? if we get the component slug in the API response, maybe that's a better way There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we should use the component slug There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i'm closing back the PR as we might be working with the return method of the update component based on another ticket |
||
manifest.package.version | ||
); | ||
|
||
Ok(()) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KokaKiwi is this actually logging to stdout? because I didn't get any confirmation message when pushing 🤔
maybe we should distinguish between tracing and standard logging?