mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Write Build / Version Number into README.md
This commit is contained in:
parent
b4da23be07
commit
68c0560e10
2 changed files with 9 additions and 8 deletions
|
@ -8,7 +8,8 @@
|
||||||
# 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:
|
||||||
|
#>>># 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:
|
||||||
|
|
||||||
|
|
|
@ -13,26 +13,26 @@ _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
|
||||||
# *****************************************************
|
# *****************************************************
|
||||||
VERSIONUMBER=$IFS
|
VERSIONUMBER=$IFS
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
echo $_startmarker >> $_tmpnginxA
|
echo $_startmarker >> $_tmpnginxA
|
||||||
printf " Version: "$MY_GIT_TAG "" >> $_tmpnginxA
|
printf " "$MY_GIT_TAG "" >> $_tmpnginxA
|
||||||
echo $_endmarker >> $_tmpnginxA
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue