Skip to content

Commit

Permalink
More robust release script
Browse files Browse the repository at this point in the history
  • Loading branch information
danielberkompas committed Aug 26, 2015
1 parent d55a544 commit 618a406
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion script/release
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +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!"

0 comments on commit 618a406

Please sign in to comment.