@@ -114,7 +114,6 @@ fn bump_check(args: &clap::ArgMatches, gctx: &cargo::util::GlobalContext) -> Car
114
114
let base_commit = get_base_commit ( gctx, args, & repo) ?;
115
115
let head_commit = get_head_commit ( args, & repo) ?;
116
116
let referenced_commit = get_referenced_commit ( & repo, & base_commit) ?;
117
- let changed_members = changed ( & ws, & repo, & base_commit, & head_commit) ?;
118
117
let status = |msg : & str | gctx. shell ( ) . status ( STATUS , msg) ;
119
118
120
119
let crates_not_check_against_channels = [
@@ -135,9 +134,8 @@ fn bump_check(args: &clap::ArgMatches, gctx: &cargo::util::GlobalContext) -> Car
135
134
status ( & format ! ( "head commit `{}`" , head_commit. id( ) ) ) ?;
136
135
137
136
let mut needs_bump = Vec :: new ( ) ;
138
-
137
+ let changed_members = changed ( & ws , & repo , & base_commit , & head_commit ) ? ;
139
138
check_crates_io ( & ws, & changed_members, & mut needs_bump) ?;
140
-
141
139
if let Some ( referenced_commit) = referenced_commit. as_ref ( ) {
142
140
status ( & format ! ( "compare against `{}`" , referenced_commit. id( ) ) ) ?;
143
141
for referenced_member in checkout_ws ( & ws, & repo, referenced_commit) ?. members ( ) {
@@ -157,7 +155,6 @@ fn bump_check(args: &clap::ArgMatches, gctx: &cargo::util::GlobalContext) -> Car
157
155
}
158
156
}
159
157
}
160
-
161
158
if !needs_bump. is_empty ( ) {
162
159
needs_bump. sort ( ) ;
163
160
needs_bump. dedup ( ) ;
0 commit comments