Skip to content
This repository was archived by the owner on Jan 18, 2021. It is now read-only.
This repository was archived by the owner on Jan 18, 2021. It is now read-only.

Release to GH and add generated files to release #843

@magx2

Description

@magx2

I'm interested in feature that allows to add files to GH releases, i.e. this release has attached source code (zip and tar), but if you, as a owner of this repo, can click Edit and attach some generic files.

What is the use case? Right now I'm working on Java GUI and all my released version (all two) are on release page. Why I'm not using Bintray/Maven? Because it's looking nicer and user of my app do not need to leave GH to download it - I see it as more user friendly.

So now let's jump to code. I think this feature should look more or less like this:

shipkit {
    gitHub.repository = "wwilk/shipkit-demo"
    gitHub.readOnlyAuthToken = "e7fe8fcfd6ffedac384c8c4c71b2a48e646"
    gitHub.releaseFiles = [
        "${buildDir}/foo/boo.xyz",
        "${buildDir}/foo/baz.abc",
    ]
}

This code will add both files into newly created release on GH.

Looking forward to hear from you guys!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions