From 2b9232fe75bd5a102965148050f105d0853692c0 Mon Sep 17 00:00:00 2001 From: Daniel Berkompas Date: Sat, 19 Sep 2015 17:44:36 -0700 Subject: [PATCH] Update release script --- script/release | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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!" -