mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
update .travis.yml
fix release conditions
This commit is contained in:
parent
9d78bda4c5
commit
ecf29b3e60
1 changed files with 7 additions and 6 deletions
13
.travis.yml
13
.travis.yml
|
|
@ -40,6 +40,7 @@ jobs:
|
|||
- kill %1
|
||||
|
||||
- stage: Github release
|
||||
go: '1.10'
|
||||
script:
|
||||
- make tomo-linux-amd64
|
||||
deploy:
|
||||
|
|
@ -52,7 +53,7 @@ jobs:
|
|||
branch: master
|
||||
tags: true
|
||||
|
||||
- stage: Build and push untagged commit into image tomochain
|
||||
- stage: Build and push tomochain image (untagged)
|
||||
services:
|
||||
- docker
|
||||
install: skip
|
||||
|
|
@ -68,7 +69,7 @@ jobs:
|
|||
after_success:
|
||||
- curl -X POST $INFRA_IMAGE_REBUILD_HOOK
|
||||
|
||||
- stage: Build and push tagged commit into image tomochain
|
||||
- stage: Build and push tomochain image (tagged)
|
||||
services:
|
||||
- docker
|
||||
install: skip
|
||||
|
|
@ -88,11 +89,11 @@ stages:
|
|||
- name: Lint
|
||||
- name: Build and test
|
||||
- name: Github release
|
||||
if: type != pull_request AND branch = master AND tag IS present AND repo = tomochain/tomochain
|
||||
- name: Build and push untagged commit into image tomochain
|
||||
if: type != pull_request AND branch =~ ^v AND tag IS present AND repo = tomochain/tomochain
|
||||
- name: Build and push tomochain image (untagged)
|
||||
if: type != pull_request AND branch = master AND tag IS blank AND repo = tomochain/tomochain
|
||||
- name: Build and push tagged commit into image tomochain
|
||||
if: type != pull_request AND branch = master AND tag IS present AND repo = tomochain/tomochain
|
||||
- name: Build and push tomochain image (tagged)
|
||||
if: type != pull_request AND branch =~ ^v AND tag IS present AND repo = tomochain/tomochain
|
||||
|
||||
notifications:
|
||||
slack:
|
||||
|
|
|
|||
Loading…
Reference in a new issue