Skip to content

Commit

Permalink
Added all_branches: true. When a tag build is run, the branch is no…
Browse files Browse the repository at this point in the history
… longer set to master, hence deploy is always skipped
  • Loading branch information
Hady Osman committed Aug 10, 2014
1 parent e6348ea commit 5c67a1f
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,7 @@ script:

# Build and Deploy a new plugin ZIP bundle
before_deploy:
# - git tag -n
#
# # Get latest tags from remote
# - git fetch --tags
#
# # Get the latest tag name
# - git describe --tags `git rev-list --tags --max-count=1`
#
# # Set HTTPS remote origin for repository
# - git remote set-url origin "https://${GH_TOKEN}@github.com/ArabicXBMC/plugin.video.dailytube4u.com.git"
#
# # ...
# - git tag -n
- bash after_success.sh
# - npm install
# - node tag_version

# Deploy build to GitHub Releases
deploy:
Expand All @@ -48,6 +33,7 @@ deploy:
file: plugin.video.dailytube4u.com.zip
skip_cleanup: true
on:
all_branches: true
tags: true
branch: master
# branch: master
repo: ArabicXBMC/plugin.video.dailytube4u.com

0 comments on commit 5c67a1f

Please sign in to comment.