Skip to content

Commit d1cbb22

Browse files
committed
Separated release publishing from docs publishing
1 parent 2344495 commit d1cbb22

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Rakefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
require "bundler/setup"
22

3-
task :default => :test
3+
task default: :test
44

55
desc "Publish \"marketing\" docs"
6-
task :publish do
6+
task :publish_docs do
77
sh("git rebase master gh-pages")
88
sh("git checkout master")
99
sh("git push origin master")
1010
sh("git push origin gh-pages")
11+
end
12+
13+
desc "Publish new release"
14+
task publish: :publish_docs do
1115
sh("git push --tags")
1216
sh("npm publish")
1317
end

0 commit comments

Comments
 (0)