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
149
149
rm -rf ../docs/stable
150
150
mv docs ../docs/stable
151
151
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
+
152
162
# ==> Tests tasks
153
163
154
164
test : 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:
24
24
25
25
10 . Add the release to ` elixir.csv ` file in ` elixir-lang/elixir-lang.github.com `
26
26
27
+ 11 . Build and push standalone Mix with ` make publish_mix ` (requires AWS credentials)
28
+
27
29
## New vMAJOR.MINOR releases
28
30
29
31
11 . Create a new branch "vMAJOR.MINOR" release
You can’t perform that action at this time.
0 commit comments