Commit 7e17ca4a authored by Felix Flor's avatar Felix Flor

updated readme and changelog, added version deployment

parent a190c027
......@@ -29,5 +29,45 @@ deploying:
script:
- eval $(ssh-agent -s)
- ssh-add <(echo "$DEPLOY_PRIVATE_KEY")
- rsync -rpvu --progress ./aphpbreakdown-*.phar $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH
- rsync -rpvu --progress ./aphpbreakdown-*.phar $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PHAR_PATH
- killall ssh-agent
deploy_version:
stage: deploy
only:
- tags
tags:
- rsync
script:
- if [ -f ./latest.php ]; then
- eval $(ssh-agent -s)
- ssh-add <(echo "$DEPLOY_PRIVATE_KEY")
- rsync -rpvu --progress ./latest.php $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_VERSION_PATH
- killall ssh-agent
- fi
deploy_changelog:
stage: deploy
only:
- tags
tags:
- rsync
script:
- eval $(ssh-agent -s)
- ssh-add <(echo "$DEPLOY_PRIVATE_KEY")
- rsync -rpvu --progress ./CHANGELOG.md $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_VERSION_PATH
- killall ssh-agent
build_symlink:
stage: post_deploy
only:
- tags
tags:
- rsync
script:
- if [ -f ./latest.php ]; then
- eval $(ssh-agent -s)
- ssh-add <(echo "$DEPLOY_PRIVATE_KEY")
- ssh $DEPLOY_USER@$DEPLOY_HOST "ln -s -f "$DEPLOY_PHAR_PATH"autopim-"$CI_COMMIT_TAG".phar "$DEPLOY_PHAR_PATH"autopim.phar"
- killall ssh-agent
- fi
# Changelog
## 2.2.3
**NEW**
- New build process
- Added Version output
## 2.2.2
**CHANGED**
......
......@@ -29,7 +29,7 @@ here are some different examples for different results:
## Requirements
- installation of php 5.6 and above with command line interface (cli)
- needed php 5.6 modules
- needed php 5.6 and above modules
- tokenizer
- phar
- hash
......@@ -42,18 +42,18 @@ here are some different examples for different results:
## Hot To install
# download the aphpbreakdown.phar
wget http://phar.code-mesa.com/aphpbreakdown-2.2.2.phar
wget https://dl.pimlab.de/aphpbreakdown/aphpbreakdown.phar
# alternativ download way
fetch http://phar.code-mesa.com/aphpbreakdown-2.2.2.phar
# alternativ download way
fetch https://dl.pimlab.de/aphpbreakdown/aphpbreakdown.phar
# make it executable
chmod +x aphpbreakdown-2.2.2.phar
chmod +x aphpbreakdown.phar
# copy it to you binary directory
# linux
sudo cp aphpbreakdown-2.2.2.phar /usr/local/bin/aphpbreakdown
sudo cp aphpbreakdown.phar /usr/local/bin/aphpbreakdown
# unix
# with root privileges
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment