action-gh-release icon indicating copy to clipboard operation
action-gh-release copied to clipboard

Is it possible to remove the default source zip and tar.gz files from the release?

Open MathiasMagnus opened this issue 3 years ago • 5 comments

If a repo is using git submodules as a means to fetch other parts of the project (not deps) but real modules, so projects that aren't using a monorepo approach have parts of the code missing, because GitHub only zips the repo contents together and not the source tree after recursive cloning.

I created separate CI steps which properly pack up the source ZIP files, but can I remove the default assets automatically created by GitHub? FWIW it's not possible to remove those assets manually either. Even if the release is a draft so manual touch up of the package could be done, it doesn't work.

MathiasMagnus avatar Mar 08 '22 17:03 MathiasMagnus

any news about this question?

Anton111111 avatar Apr 05 '22 15:04 Anton111111

I, too, would like to know the answer to this ☕

ivanempire avatar Apr 10 '22 22:04 ivanempire

I think it impossible because I also can't create release without source manually.

Anton111111 avatar Apr 11 '22 03:04 Anton111111

Yeah the closest you can do (ish) is ignore everything and I guess it creates an empty archive? https://stackoverflow.com/a/58443948

ivanempire avatar Apr 11 '22 04:04 ivanempire

I think it is safe to assume that unfortunately this isn't going to resolved anytime soon: https://github.com/orgs/community/discussions/6003

Senozoid avatar Apr 09 '24 06:04 Senozoid