Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MathiasMagnus opened this issue Mar 8, 2022 · 7 comments

Comments

@MathiasMagnus
Copy link

MathiasMagnus commented Mar 8, 2022

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.

@Anton111111
Copy link

any news about this question?

@ivanempire
Copy link

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

@Anton111111
Copy link

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

@ivanempire
Copy link

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

@Senozoid
Copy link

Senozoid commented Apr 9, 2024

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

@MrGadget1024
Copy link

I need this too...just an option in GitHub to suppress the source zip and tarball...

image

@softprops
Copy link
Owner

Let’s move this to GitHub’s issue tracker or community discussions. Their api doesn’t provide a means of suppressing these which means this gh action is not able to control this.

I believe their platform create archives for each commit regardless of releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants