From 01f585310d73d8d3705c7c61f2609d0988615dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Sagnes?= Date: Sat, 27 Apr 2019 17:33:14 +0100 Subject: [PATCH] Automatically create named tags for releases --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3ae248e..f2fd42e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python python: '2.7' install: python build_rules.py script: python -m unittest test_build_rules + deploy: provider: releases api_key: @@ -12,3 +13,8 @@ deploy: skip_cleanup: true on: repo: ndfred/unifi-pi-hole + +before_deploy: + - git config --local user.name "Frédéric Sagnes" + - git config --local user.email "frederic.sagnes@gmail.com" + - git tag "v0.1.$TRAVIS_BUILD_NUMBER"