Closed client9 closed 6 years ago
This seems to work, and doesn't require the API. Which is good since using goreleaser on travis.ci requires a GITHUB_TOKEN due to rate limiting.
wget -q -O - https://github.com/mpeterv/luacheck/releases/latest |\ grep '<title>' |\ awk '{ print $2 }'
works since the <title> tag is formatted as so:
<title>
<title>Release 0.21.2 · mpeterv/luacheck</title>
fixed in 261a496..4d431a8 master -> master
This seems to work, and doesn't require the API. Which is good since using goreleaser on travis.ci requires a GITHUB_TOKEN due to rate limiting.
works since the
<title>
tag is formatted as so: