diff --git a/README.md b/README.md index d1eaa7b..05fd5d7 100644 --- a/README.md +++ b/README.md @@ -73,4 +73,4 @@ No - its not less (in)secure as any other Bot written in any other language. But If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 diff --git a/README.txt b/README.txt index e0968ac..366f1d2 100644 --- a/README.txt +++ b/README.txt @@ -111,5 +111,5 @@ That's it! If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -latexmath:[\[VERSION\]] v0.51-0-g0356270 -++++++++++++++++++++++++++++++++++++++++ +latexmath:[\[VERSION\]] v0.6-dev2-8-g649fe44 +++++++++++++++++++++++++++++++++++++++++++++ diff --git a/bashbot.cron b/bashbot.cron index 3ea993f..90caedd 100644 --- a/bashbot.cron +++ b/bashbot.cron @@ -7,7 +7,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 SHELL=/bin/sh diff --git a/bashbot.rc b/bashbot.rc index fadd19d..8015bc5 100755 --- a/bashbot.rc +++ b/bashbot.rc @@ -1,7 +1,7 @@ #!/bin/sh # description: Start or stop telegram-bash-bot # -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 # shellcheck disable=SC2009 # shellcheck disable=SC2181 diff --git a/bashbot.sh b/bashbot.sh index c86f222..f45adfb 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -10,7 +10,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 # # Exit Codes: # - 0 sucess (hopefully) diff --git a/commands.sh b/commands.sh index 35c908d..a596c59 100755 --- a/commands.sh +++ b/commands.sh @@ -4,7 +4,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 # # shellcheck disable=SC2154 # shellcheck disable=SC2034 diff --git a/doc/1_firstbot.md b/doc/1_firstbot.md index 62527f0..b8e04ac 100644 --- a/doc/1_firstbot.md +++ b/doc/1_firstbot.md @@ -70,5 +70,5 @@ git clone --recursive https://github.com/topkecleon/telegram-bot-bash ``` 3. Change to directory ```telegram-bot.bash```, run ```./bashbot.sh init``` and follow the instructions. At this stage you are asked for your Bots token given by botfather. -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 diff --git a/doc/2_usage.md b/doc/2_usage.md index b1d444f..5c191e8 100644 --- a/doc/2_usage.md +++ b/doc/2_usage.md @@ -147,6 +147,6 @@ Allowed values: typing for text messages, upload_photo for photos, record_video send_action "${CHAT[ID]}" "action" ``` -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 diff --git a/doc/3_advanced.md b/doc/3_advanced.md index 7e8425a..9a652d3 100644 --- a/doc/3_advanced.md +++ b/doc/3_advanced.md @@ -97,5 +97,5 @@ To send stickers through an *inline query*: answer_inline_query "$iQUERY_ID" "cached_sticker" "identifier for the sticker" ``` -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 diff --git a/doc/4_expert.md b/doc/4_expert.md index b82e0bc..24d099d 100644 --- a/doc/4_expert.md +++ b/doc/4_expert.md @@ -102,5 +102,5 @@ An example crontab is provided in ```bashbot.cron```. - if you run bashbot as an other user or a system service edit ```bashbot.cron``` to fit your needs and replace username```nobody``` with the username you want to run bashbot. copy the modified file to ```/etc/cron.d/bashbot``` -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 diff --git a/doc/5_practice.md b/doc/5_practice.md index a66a662..ff6d7a8 100644 --- a/doc/5_practice.md +++ b/doc/5_practice.md @@ -114,5 +114,5 @@ In bashbot.sh line 490: ``` As you can see there are only two warnings in bashbots scripts. The first is a hint you may use shell substitions instead of sed, but this is only possible for simple cases. The second warning is about an unused variable, this is true because in our examples CONTACT is not used but assigned in case you want to use it :-) -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 diff --git a/notify b/notify index 9b2335f..e91e277 100755 --- a/notify +++ b/notify @@ -2,7 +2,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 # adjust your language setting here # https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment diff --git a/question b/question index 1ea360f..747d971 100755 --- a/question +++ b/question @@ -3,7 +3,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 # adjust your language setting here # https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment diff --git a/version b/version index a82271d..f1c3725 100755 --- a/version +++ b/version @@ -1,6 +1,6 @@ #!/bin/bash # -#### $$VERSION$$ v0.51-0-g0356270 +#### $$VERSION$$ v0.6-dev2-8-g649fe44 # shellcheck disable=SC2016 # # Easy Versioning in git: @@ -47,5 +47,7 @@ do echo -n " $file" sed -i 's/^#### $$VERSION$$.*/#### \$\$VERSION\$\$ '"$VERSION"'/' "$file" done +# try to compile README.txt +pandoc -f markdown -t asciidoc README.md | sed '/^\[\[/d' >README.txt echo " done."