Skip to content

Commit 2d95b78

Browse files
committed
Rename command set-version -> bump.
1 parent 384bdf3 commit 2d95b78

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
File renamed without changes.

src/cmd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pub mod build;
2+
pub mod bump;
23
pub mod dependencies;
34
pub mod dependents;
45
pub mod list;
56
pub mod prepare_release;
67
pub mod semver_check;
7-
pub mod set_version;

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ enum Command {
2626
List(cmd::list::Args),
2727
Dependencies(cmd::dependencies::Args),
2828
Dependents(cmd::dependents::Args),
29-
SetVersion(cmd::set_version::Args),
29+
Bump(cmd::bump::Args),
3030
Build(cmd::build::Args),
3131
SemverCheck(cmd::semver_check::Args),
3232
PrepareRelease(cmd::prepare_release::Args),
@@ -177,8 +177,8 @@ fn main() -> Result<()> {
177177
Command::Build(args) => {
178178
cmd::build::run(&ctx, args)?;
179179
}
180-
Command::SetVersion(args) => {
181-
cmd::set_version::run(&mut ctx, args)?;
180+
Command::Bump(args) => {
181+
cmd::bump::run(&mut ctx, args)?;
182182
}
183183
Command::SemverCheck(args) => {
184184
cmd::semver_check::run(&ctx, args)?;

0 commit comments

Comments
 (0)