From f3b1eeb28d118909760e26e39534042c9dfbfac1 Mon Sep 17 00:00:00 2001 From: Elizabeth Date: Wed, 10 Jul 2019 21:11:39 +0800 Subject: [PATCH] 6 --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9d8396b..065cbe8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,11 +24,18 @@ script: branches: only: - master +before_deploy: + # Set up git user name and tag this commit + - git config --local user.name "ElizabethMa" + - git config --local user.email "ma_yanqiong@163.com" + - export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)} + - git tag $TRAVIS_TAG deploy: provider: releases api_key: secure: lPa90tn/Tl9wUjmmnB5XWpicKyiPKMUmqcx1Y3yFF7Ip2gRcUjAhFZFF2jeuC53pqfM2ggDVL/3+dJ7V0WOpynxKGI/m4MjbfxQmEkUCfSQCPJKMP20a7KrKNAgIwv1vDn32EROS/NpbkTTwDz7D8C4a5V6f3D9TTa5mrnNXsFnmxnhx9alhUSLVW7mzQMBa9ma5tRipUEkbgw6wqGWTvs25QpL03xHAPhWC3kK5i1BWTUDC/LTWh2/5S4Tb1qFACx7cHWRDrf21WZhn9YW7iop3AqnekHjbC4IkAJk3/RJntQCdLwDVxUUhMCn6ARWgA0pPqLEVp+OwFsAG8GiuuwjmJISbaVuPhgmbbRXmPcG8X2adjZ1e6OyX1QyC/2A7bZSXC0PYSa/4HmQHj8bpkcHMqfVujUXWOxQGvtca2dtQYNE6xUxdRN3FUoQsHu6ekRbJLmYnh7rcc9e7CrS3ue9fcLaZbtRlkRxdOcH/FnynkpOZFKnkuM+Y5Zb8/GETlN4T5b2ManpQoCtFm52d0OnIbTKxc9wpio6LpJIRt9WAvkFBFOjBq+UG0xQ91k0FYO0Uza7Bhh6CkxFAeAvrECIie1JIeIw/NGEgSRdVYNkTNo7TaLBQgazhZHMzmwjNVrKEp+se6aqPR9C8iPNVQulNezj9PafdybAwUKv2NZ8= - file: dist_electron/* + file_glob: true + file: dist_electron/tianqin-0.0.1.dmg skip_cleanup: true on: repo: yanqiong/tianqin