1
0
mirror of synced 2025-02-20 17:03:13 +03:00

Merge pull request #121 from iyzoer/master

fix travis deploy
This commit is contained in:
Alex Lushpai 2020-03-05 12:46:22 +03:00 committed by GitHub
commit 055f8a6f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View File

@ -10,6 +10,10 @@ stages:
- github releases
- deploy
before_install:
- export LAST_TAG=`git describe --abbrev=0 --tags`
- export CURRENT_VERSION=v`cat VERSION`
before_script:
- nvm install 10
- make install
@ -257,8 +261,12 @@ jobs:
condition: "$LAST_TAG != $CURRENT_VERSION"
if: branch = master AND type = push AND fork = false
- stage: deploy
before_install: skip
before_script: skip
script: make svn_clone
deploy:
cleanup: false
provider: script
script: make
if: branch = master AND type = push AND fork = false
script: make svn_push
if: branch = master AND type = push AND fork = false
after_success: make remove_dir

View File

@ -3,8 +3,6 @@ VERSION = `cat $(FILE)`
.PHONY: test
all: svn_clone svn_push remove_dir
svn_clone:
mkdir /tmp/svn_plugin_dir
svn co $(SVNREPOURL) /tmp/svn_plugin_dir --username $(USERNAME) --password $(PASSWORD) --no-auth-cache