File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,16 @@ release_docs: docs
149149 rm -rf ../docs/stable
150150 mv docs ../docs/stable
151151
152+ # This task requires aws-cli to be installed and set up for access to s3.hex.pm
153+ # See: http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-set-up.html
154+
155+ publish_mix : compile
156+ cd lib/mix && MIX_ENV=prod mix escript.build
157+ aws s3 cp lib/mix/mix s3://s3.hex.pm/builds/mix/v$(VERSION ) /mix --acl public-read
158+ aws s3 cp lib/mix/mix s3://s3.hex.pm/builds/mix/mix --acl public-read
159+ rm lib/mix/mix
160+ rm -rf lib/mix/_build
161+
152162# ==> Tests tasks
153163
154164test : test_erlang test_elixir
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ This document simply outlines the release process:
2424
252510 . Add the release to ` elixir.csv ` file in ` elixir-lang/elixir-lang.github.com `
2626
27+ 11 . Build and push standalone Mix with ` make publish_mix ` (requires AWS credentials)
28+
2729## New vMAJOR.MINOR releases
2830
293111 . Create a new branch "vMAJOR.MINOR" release
You can’t perform that action at this time.
0 commit comments