Skip to content

Commit

Permalink
Update release steps to rebuild build_info
Browse files Browse the repository at this point in the history
  • Loading branch information
José Valim committed Apr 10, 2014
1 parent 6882852 commit 3cb586a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
REBAR := rebar
ELIXIRC := bin/elixirc --verbose --ignore-module-conflict $(ELIXIRC_OPTS)
ELIXIRC := bin/elixirc --verbose --ignore-module-conflict
ERLC := erlc -I lib/elixir/include
ERL := erl -I lib/elixir/include -noshell -pa lib/elixir/ebin
VERSION := $(strip $(shell cat VERSION))
Expand Down Expand Up @@ -125,6 +125,9 @@ docs: compile ../ex_doc/bin/ex_doc
@ echo "ex_doc is not found in ../ex_doc as expected. See README for more information."
@ false

build_info:
$(ELIXIRC) lib/elixir/lib/system.ex -o lib/elixir/ebin

release_zip: compile
rm -rf v$(VERSION).zip
zip -9 -r v$(VERSION).zip bin CHANGELOG.md LEGAL lib/*/ebin LICENSE README.md VERSION
Expand Down
14 changes: 8 additions & 6 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ This document simply outlines the release process:

5) Push master and create tag vVERSION from master branch

6) Release new docs with `make release_docs`, move docs to `docs/stable`
6) Update build info to include tag: `make build_info`

7) Release new zip with `make release_zip`, push new zip to GitHub Releases
7) Release new docs with `make release_docs`, move docs to `docs/stable`

8) Push package to expm with `expm publish package.exs`
8) Release new zip with `make release_zip`, push new zip to GitHub Releases

9) Merge master into stable branch and push it
9) Push package to expm with `expm publish package.exs`

10) After release, bump versions, add `-dev` back and commit
10) Merge master into stable branch and push it

11) `make release_docs` once again and push `elixir-lang.github.com`
11) After release, bump versions, add `-dev` back and commit

12) `make release_docs` once again and push it to `elixir-lang.github.com`

## Places where version is mentioned

Expand Down

0 comments on commit 3cb586a

Please sign in to comment.