Skip to content

Commit

Permalink
Merge branch 'release/0.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
lrascao committed Jan 30, 2019
2 parents 013ca5d + f8a0199 commit 0947c40
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ otp_release:
- 19.3
- 18.3
- 17.5
- R16B03-1
before_script:
- wget https://s3.amazonaws.com/rebar3/rebar3
- chmod u+x rebar3
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased][unreleased]

## [0.2.1] - 30-01-2019
### Fixed
* [Prevent warnings about non-documented type values](https://github.com/lrascao/raterl/pull/7)
* Deprecate R16 Travis tests

## [0.2.0] - 12-02-2018
### Fixed
* Don't crash on boot upon lack of explicit env. config
Expand Down
26 changes: 26 additions & 0 deletions pr2relnotes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/env sh

if [ -z $1 ]
then
echo "pr2relnotes.sh: prints list of pull requests merged since <tag>"
echo " usage: $0 <tag> [pull-request-url (default: https://github.com/lrascao/raterl/pull/)]"
exit 0
fi
export url=${2:-"https://github.com/lrascao/raterl/pull/"}

git log --merges --pretty=medium $1..HEAD | \
awk -v url=$url '
# first line of a merge commit entry
/^commit / {mode="new"}
# merge commit default message
/ +Merge pull request/ {
page_id=substr($4, 2, length($4)-1);
mode="started";
next;
}
# line of content including title
mode=="started" && / [^ ]+/ {
print "- [" substr($0, 5) "](" url page_id ")"; mode="done"
}'
2 changes: 1 addition & 1 deletion src/raterl.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, raterl,
[{description, "Erlang flow control"},
{vsn, "0.2.0"},
{vsn, "0.2.1"},
{registered, []},
{mod, { raterl_app, []}},
{applications,
Expand Down
2 changes: 1 addition & 1 deletion src/raterl_queue.erl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
-record(state, {
name :: atom(),
regulator :: proplists:proplist(),
timer_ref :: reference()
timer_ref :: undefined | reference()
}).

%%====================================================================
Expand Down

0 comments on commit 0947c40

Please sign in to comment.