Skip to content

Commit 7bb6f63

Browse files
committed
Release should use invoke not execute
release task only have prerequisites so we need to call invoke to execute them.
1 parent d55d8ad commit 7bb6f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Thorfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Default < Thor
1919

2020
desc "release", "Create tag v#{Thor::VERSION} and build and push thor-#{Thor::VERSION}.gem to Rubygems"
2121
def release
22-
Rake::Task["release"].execute
22+
Rake::Task["release"].invoke
2323
end
2424

2525
desc "spec", "Run RSpec code examples"

0 commit comments

Comments
 (0)