mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-10 15:34:24 +00:00
Bring New Travis CI Testing Online - Test 1
This commit is contained in:
parent
0387e9ac7e
commit
556e1bdafa
24 changed files with 259 additions and 47 deletions
20
travisCI/deploy-package.sh
Executable file
20
travisCI/deploy-package.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
YEAR=$(date +"%Y")
|
||||
MONTH=$(date +"%m")
|
||||
|
||||
# Make Sure we are in the Build Directory
|
||||
cd $TRAVIS_BUILD_DIR
|
||||
|
||||
# Create our Version Number
|
||||
export GIT_TAG=V3.$YEAR-$MONTH.$TRAVIS_BUILD_NUMBER
|
||||
|
||||
# Tag our release
|
||||
git tag $GIT_TAG -a -m "V3.$YEAR.$MONTH.$TRAVIS_BUILD_NUMBER"
|
||||
|
||||
# Push our commit and tags back to the repo
|
||||
sudo git push origin master && git push origin master --tags
|
||||
|
||||
# Uncomment to list all git folders and modified files etc
|
||||
#ls -aR
|
||||
|
||||
# Now TravisCI moves into the deploy: section of TravisCI - see .travis.yml
|
Loading…
Add table
Add a link
Reference in a new issue