-
Notifications
You must be signed in to change notification settings - Fork 104
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
(GH-808) Implement pdk release prep and publish subcommands #813
Conversation
Previously the pdk release command was added. This commit adds the prep and publish subcommands as per PDK RFC 003. This commit also adds tests for new subcommands.
82cdafb
to
c354423
Compare
end | ||
|
||
it 'does not start an interview when --force is used' do | ||
expect(PDK::CLI::Util::Interview).to receive(:new).never |
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.
expect(PDK::CLI::Util::Interview).to receive(:new).never | |
expect(PDK::CLI::Util::Interview).not_to receive(:new) |
nit: use a negative expectation rather than a negative matcher for consistency (here and in the other specs in this PR)
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.
Whoops. Good catch.
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.
Added an extra commit as I found a bunch of other tests that should be changed as well.
Previously there were many cases of using a negative matcher instead of using a negative expectation. This commit changes use of `.never` to `.not_to` to be consistent with the rest of the test suite.
Previously the pdk release command was added. This commit adds the prep and
publish subcommands as per PDK RFC 003.
This commit also adds tests for new subcommands.
The
pdk release build
sub command needs more work, specifically around the tagging component.Closes #808