Skip to content

Commit

Permalink
fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 committed Dec 6, 2018
1 parent 1f8d513 commit 679416e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .release-it.json
@@ -0,0 +1,3 @@
{
"requireCleanWorkingDir": false
}
3 changes: 2 additions & 1 deletion rakelib/release.rake
Expand Up @@ -57,7 +57,8 @@ task :release, %i[gem_version dry_run tools_install] do |_t, args|
bundle_install_in(dummy_app_dir)

# Stage changes so far
sh_in_dir(gem_root, "git add .")
sh_in_dir(gem_root, "git add . && git commit -m \"Bump version\" ")
sh_in_dir(gem_root, "git pull --rebase")

# Will bump the yarn version, commit, tag the commit, push to repo, and release on yarn
release_it_command = "$(yarn bin)/release-it --non-interactive --npm.publish".dup
Expand Down

0 comments on commit 679416e

Please sign in to comment.