Skip to content

Commit 3cb586a

Browse files
author
José Valim
committed
Update release steps to rebuild build_info
1 parent 6882852 commit 3cb586a

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
REBAR := rebar
2-
ELIXIRC := bin/elixirc --verbose --ignore-module-conflict $(ELIXIRC_OPTS)
2+
ELIXIRC := bin/elixirc --verbose --ignore-module-conflict
33
ERLC := erlc -I lib/elixir/include
44
ERL := erl -I lib/elixir/include -noshell -pa lib/elixir/ebin
55
VERSION := $(strip $(shell cat VERSION))
@@ -125,6 +125,9 @@ docs: compile ../ex_doc/bin/ex_doc
125125
@ echo "ex_doc is not found in ../ex_doc as expected. See README for more information."
126126
@ false
127127

128+
build_info:
129+
$(ELIXIRC) lib/elixir/lib/system.ex -o lib/elixir/ebin
130+
128131
release_zip: compile
129132
rm -rf v$(VERSION).zip
130133
zip -9 -r v$(VERSION).zip bin CHANGELOG.md LEGAL lib/*/ebin LICENSE README.md VERSION

RELEASE.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@ This document simply outlines the release process:
1212

1313
5) Push master and create tag vVERSION from master branch
1414

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

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

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

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

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

25-
11) `make release_docs` once again and push `elixir-lang.github.com`
25+
11) After release, bump versions, add `-dev` back and commit
26+
27+
12) `make release_docs` once again and push it to `elixir-lang.github.com`
2628

2729
## Places where version is mentioned
2830

0 commit comments

Comments
 (0)