-
Notifications
You must be signed in to change notification settings - Fork 489
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
[Merged by Bors] - feat: cleanup after publishing packages #3259
[Merged by Bors] - feat: cleanup after publishing packages #3259
Conversation
@sehz I'm starting to find many similar aspects in both CLIs, starting to think about a common set of functions we could put together and reuse for both. Of course in future iterations! |
if !self.pack { | ||
self.cleanup(&package_info)?; | ||
} |
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.
Instead of calling separately, we skip running the cleanup
if the --pack
argument is not present.
This way we always cleanup unless specified.
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.
LGTM
bors r+ |
Removes `.hub` directory after publishing packages to the Hub when using both **cdk** or **smdk**.
Build failed: |
bors retry |
Removes `.hub` directory after publishing packages to the Hub when using both **cdk** or **smdk**.
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Removes
.hub
directory after publishing packagesto the Hub when using both cdk or smdk.