diff --git a/script/release b/script/release index 1d805bc..db05e7a 100755 --- a/script/release +++ b/script/release @@ -12,7 +12,10 @@ continue = system "git tag v#{version}" if continue continue = system "git push" if continue continue = system "git push -f origin v#{version}" if continue continue = system "mix hex.publish" if continue -continue = system "mix hex.docs" if continue +continue = system "MIX_ENV=docs mix hex.docs" if continue +continue = system "github_changelog_generator" +continue = system "git add ." if continue +continue = system "git commit -am \"Update changelog for version #{version}\"" if continue +continue = system "git push" if continue puts "Version #{version} was successfully released!" -