File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -94,11 +94,13 @@ clean:
94
94
95
95
# ==> Release tasks
96
96
97
+ SOURCE_REF = $(shell head="$$(git rev-parse HEAD ) " tag="$$(git tag --points-at $$head | tail -1 ) " ; echo "$${tag:-$$head}\c")
98
+
97
99
docs : compile
98
100
mkdir -p ebin
99
101
rm -rf docs
100
102
cp -R -f lib/* /ebin/* .beam ./ebin
101
- bin/elixir ../exdoc/bin/exdoc " Elixir" " $( VERSION) " -m Kernel -u " https://github.com/elixir-lang/elixir" --source-ref " $( shell head= " $$ (git rev-parse HEAD) " tag= " $$ (git tag --points-at $$ head | tail -1) " ; echo " $$ {tag:- $$ head}\c " ) "
103
+ bin/elixir ../exdoc/bin/exdoc " Elixir" " $( VERSION) " -m Kernel -u " https://github.com/elixir-lang/elixir" --source-ref " $( call SOURCE_REF ) "
102
104
rm -rf ebin
103
105
104
106
release_zip : compile
You can’t perform that action at this time.
0 commit comments