LANGUAGE/!$%!% ERROR NOTE 2017. 9. 13. 10:42

Travis CI

 Error (에러)

Skipping a deployment with the releases provider because this is not a tagged commit


Done. Your build exited with 0.

Tag를 달때마다, Releases에 잘 배포되었는데, 어느날 갑자기 되지 않고 있었다. 빌드로그를 체크해보면, 마지막줄에 위의 메세지와 함께 deploy(배포)가 되지 않고 있었다.

Solved (해결)

.travis.yml파일을 수정 해야한다.

1. Remove it (이부분을 제거한다.)

branches: 
  only: 
    - master

2. Change it (이부분을 변경한다.)

branch: master to all_branches: true

  • BEFORE
deploy:
  provider: releases
  api_key:
    secure: ***
  file: "build/distributions/*.zip"
  file_glob: true
  skip_cleanup: true
  on:
    tags: true
    repo: avaj-java/installer-maker
    branch: master
  • AFTER
deploy:
  provider: releases
  api_key:
    secure: ***
  file: "build/distributions/*.zip"
  file_glob: true
  skip_cleanup: true
  on:
    tags: true
    repo: avaj-java/installer-maker
    all_branches: true