Skip to content

Commit

Permalink
update version to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpoelen committed Jul 14, 2019
1 parent abb59f9 commit f8f845c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ For `luajit`, add `--lua-version=5.1` with `luarocks`.
/!\\ See next chapter if an error occurs with Lua-cURL or lpeg.

```bash
luarocks install --local https://raw.githubusercontent.com/jonathanpoelen/gh-md-toc/master/gh-md-toc-1.2-0.rockspec
luarocks install --local https://raw.githubusercontent.com/jonathanpoelen/gh-md-toc/master/gh-md-toc-1.3-0.rockspec

# Or in your local directory

luarocks make --local gh-md-toc-1.2-0.rockspec
luarocks make --local gh-md-toc-1.3-0.rockspec
```

If this is not done, configure your environment with `eval $(luarock path)`. You can now run `gh-md-toc`.
Expand Down
4 changes: 2 additions & 2 deletions gh-md-toc-1.2-0.rockspec → gh-md-toc-1.3-0.rockspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package = "gh-md-toc"
version = "1.2-0"
version = "1.3-0"
source = {
url = "https://github.com/jonathanpoelen/gh-md-toc",
tag = "v1.2.0"
tag = "v1.3.0"
}
description = {
summary = "Generates a github markdown TOC (table of contents)",
Expand Down
2 changes: 1 addition & 1 deletion gh-md-toc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ parser:option('--url-api', 'Github API URL', 'https://api.github.com/markdown/ra
parser:option('--cmd-api', 'Command for Github API', 'curl https://api.github.com/markdown/raw -X POST -H \'Content-Type: text/plain\' -s -d'):argname'<cmd>'
parser:flag2('-c --use-cmd-api', 'Use value of --cmd-api rather than --url-api')
parser:flag('--version', 'Output version information and exit'):action(function()
print('gh-md-toc 1.2.0')
print('gh-md-toc 1.3.0')
os.exit(0)
end)

Expand Down

0 comments on commit f8f845c

Please sign in to comment.