From f8f845c24ed96459a8dd4cc0c637426cd4c8e8c3 Mon Sep 17 00:00:00 2001 From: Jonathan Poelen Date: Sun, 14 Jul 2019 19:36:40 +0200 Subject: [PATCH] update version to 1.3.0 --- README.md | 4 ++-- gh-md-toc-1.2-0.rockspec => gh-md-toc-1.3-0.rockspec | 4 ++-- gh-md-toc.lua | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename gh-md-toc-1.2-0.rockspec => gh-md-toc-1.3-0.rockspec (93%) diff --git a/README.md b/README.md index 3b6c2fe..a4d74ad 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/gh-md-toc-1.2-0.rockspec b/gh-md-toc-1.3-0.rockspec similarity index 93% rename from gh-md-toc-1.2-0.rockspec rename to gh-md-toc-1.3-0.rockspec index 80be1fb..1ec7543 100644 --- a/gh-md-toc-1.2-0.rockspec +++ b/gh-md-toc-1.3-0.rockspec @@ -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)", diff --git a/gh-md-toc.lua b/gh-md-toc.lua index 6df61dd..fca8330 100755 --- a/gh-md-toc.lua +++ b/gh-md-toc.lua @@ -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'' 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)