Travis CI begins work on a new tag

I am trying to use travis to continue integrating with github. I want to create my own deployment for new tags. The problem is that I cannot get travis to hit the assembly when creating the tag.

I believe that an alternative would be to create a release branch ...

my travis.yml looks like this

language: node_js
node_js:
   - "0.10"
# whitelist
branches:
  only:
    - master

after_success:
  ./build/update-ghpages.sh
+4
source share
2 answers

Here are a few things:

Do you push tags on github with git push --tags? Do you pull your tags on travis-ci with git fetch --tags?

In the whitelisted branch, you can also prohibit the execution of tags with entries, since they can be blocked for the non-leading branch.

master? , , , , , git fetch --tags.

, , travis-ci.

+3

Safelisting . , , /^v\d+.\d+(.\d+)?(-\S*)?$/, v1.0

0

Source: https://habr.com/ru/post/1533355/


All Articles