Write Build / Version Number into README.md

This commit is contained in:
Mitchell Krog 2017-06-02 09:56:33 +02:00
parent 5632f6c192
commit 78bc29e3ce
2 changed files with 7 additions and 7 deletions

View file

@ -8,7 +8,7 @@
# Nginx Bad Bot and User-Agent Blocker, Spam Referrer Blocker, Anti DDOS, Bad IP Blocker and Wordpress Theme Detector Blocker # Nginx Bad Bot and User-Agent Blocker, Spam Referrer Blocker, Anti DDOS, Bad IP Blocker and Wordpress Theme Detector Blocker
##### The Ultimate Nginx Bad Bot, User-Agent, Spam Referrer Blocker, Adware, Malware and Ransomware Blocker, Clickjacking Blocker, Click Re-Directing Blocker, SEO Companies and Bad IP Blocker with Anti DDOS System, Nginx Rate Limiting and Wordpress Theme Detector Blocking ##### The Ultimate Nginx Bad Bot, User-Agent, Spam Referrer Blocker, Adware, Malware and Ransomware Blocker, Clickjacking Blocker, Click Re-Directing Blocker, SEO Companies and Bad IP Blocker with Anti DDOS System, Nginx Rate Limiting and Wordpress Theme Detector Blocking
### -- Version 3.2017.07 -- ### ### >>> Version 3.2017.07 <<<
If this helps you [why not buy me a beer](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BKF9XT6WHATLG):beer: If this helps you [why not buy me a beer](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BKF9XT6WHATLG):beer:

View file

@ -13,8 +13,8 @@ _inputdbA=/tmp/lastupdated.db
_tmpnginxA=tmpnginxA _tmpnginxA=tmpnginxA
# Start and End Strings to Search for to do inserts into template # Start and End Strings to Search for to do inserts into template
_startmarker="### --" _startmarker=">>>"
_endmarker="-- ###" _endmarker="<<<"
# PRINT VERSION INFORMATION INTO GLOBALBLACKLIST FILE 1 # PRINT VERSION INFORMATION INTO GLOBALBLACKLIST FILE 1
# ***************************************************** # *****************************************************
@ -26,13 +26,13 @@ echo $_endmarker >> $_tmpnginxA
IFS=$VERSIONUMBER IFS=$VERSIONUMBER
mv $_tmpnginxA $_inputdbA mv $_tmpnginxA $_inputdbA
ed -s $_inputdbA<<\IN ed -s $_inputdbA<<\IN
1,/### --/d 1,/>>>/d
/-- ###/,$d /<<</,$d
,d ,d
.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md .r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
/### --/x />>>/x
.t. .t.
.,/-- ###/-d .,/<<</-d
#,p #,p
#,p used to print output replaced with w below to write #,p used to print output replaced with w below to write
w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md