Deploy only release assets without source code

ferraith's Avatar

ferraith

04 Dec, 2016 06:02 PM

Hello!

I introduced a deployment step to GitHub releases in my appveyor.yml:

artifacts:
  - name: artis
    path: 'dist*.arti'


deploy: release: foo-v$(appveyor_repo_tag_name) description: 'foo desc' provider: GitHub auth_token: secure: encrypted data artifact: artis force_update: true on: branch: master appveyor_repo_tag: true

This works pretty well and my artifacts are deployed to GitHub releases. Additionally the GitHub provider creates a Source code zip file and a tarball and also deploys them to my new Release at GitHub. For my project it doesn't make sense to deploy the source code.

Is it possible to prevent the GitHub provider from deploying the source code zip file and tarball?

Best regards,
ferraith

  1. 1 Posted by Ilya Finkelshte... on 05 Dec, 2016 10:26 PM

    Ilya Finkelshteyn's Avatar

    Hi Andreas,

    It deploys what is being published in artifacts. I see that you already fixed this :)

    Thanks!
    Ilya.

  2. 2 Posted by gqqnbig on 04 Feb, 2018 09:46 PM

    gqqnbig's Avatar

    Hi Ilya.

    I made a similar fix at https://github.com/gqqnbig/LocalizationHelper/commit/f1e74b70bf98f85eeacf4a437527b09904ffae07

    but appveyor still deploys Source code. Did I miss anything?

  3. 3 Posted by Ilya Finkelshte... on 05 Feb, 2018 06:01 PM

    Ilya Finkelshteyn's Avatar

    gqqnbig AppVeyor deploys exactly what you configured it to deploy, in your case it is LocalizationHelper.zip. You can see it here and here. Source code is added automatically when you create a release on GitHub.

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:26 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac