Skip to content

Commit

Permalink
Clarify the argument to reissue:branch
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnflyer committed Sep 6, 2024
1 parent ba93b54 commit 643ab5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [0.3.1] - Unreleased

### Changed

- Set the name of the `reissue:branch` argument to `branch_name` to be clearer.

## [0.3.0] - 2024-09-06

### Added
Expand Down
6 changes: 3 additions & 3 deletions lib/reissue/rake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ def define
end

desc "Create a new branch for the next version."
task "#{name}:branch", [:branch] do |task, args|
raise "No branch name specified" unless args[:branch]
system("git checkout -b #{args[:branch]}")
task "#{name}:branch", [:branch_name] do |task, args|
raise "No branch name specified" unless args[:branch_name]
system("git checkout -b #{args[:branch_name]}")
end

desc "Push the current branch to the remote repository."
Expand Down

0 comments on commit 643ab5d

Please sign in to comment.