# Include 'skip\_cleanup: true' in 'travis setup releases'

**URL:** <https://travis-ci.community/t/include-skip-cleanup-true-in-travis-setup-releases/7006>\
**Category:** Travis CI Discussions & Feedback\
**Tags:** deployment, github-releases, travis-cli\
**Created:** [January 25, 2020, 3:11pm UTC](https://travis-ci.community/t/include-skip-cleanup-true-in-travis-setup-releases/7006 "2020-01-25T15:11:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lprc](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/lprc/32/3718_2.png) [@lprc](https://travis-ci.community/u/lprc)\
**Post date:** [January 25, 2020, 3:11pm UTC](https://travis-ci.community/t/include-skip-cleanup-true-in-travis-setup-releases/7006/1 "2020-01-25T15:11:35Z")

</div>

As suggested [in the docs](https://docs.travis-ci.com/user/deployment/releases/) I used `travis setup releases` generating the barebone configuration for pushing a release on github. However since it does not include the option `skip_cleanup: true` the file I wanted to be released was not found.

Generated code:

```
deploy:
  provider: releases
  api_key:
    secure: blablakey
  file: app/build/outputs/apk/debug/app-debug.apk
  on:
    repo: lprc/simple-dl
    branch: travis

```

I think `skip_cleanup: true` should really be included since the use of it is explicitely suggested in the docs.

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [January 26, 2020, 2:52am UTC](https://travis-ci.community/t/include-skip-cleanup-true-in-travis-setup-releases/7006/2 "2020-01-26T02:52:47Z")

</div>

> <https://github.com/travis-ci/travis.rb/pull/704>
