add tag condition

This commit is contained in:
Glyn Hudson 2016-10-18 02:04:37 +01:00
parent 37a0edf3b9
commit 90beb43d50
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ deploy:
file: firmware/.pioenvs/emonth2_deploy/firmware.hex
on:
repo: openenergymonitor/emonth2
all_branches: true
condition: $TRAVIS_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+$
## Setup auto depoly .hex on release tag
# gem install travis