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

Add a git-ignored file to the release package #338

Open
dotkas opened this issue Oct 30, 2019 · 1 comment
Open

Add a git-ignored file to the release package #338

dotkas opened this issue Oct 30, 2019 · 1 comment

Comments

@dotkas
Copy link

dotkas commented Oct 30, 2019

Hi.

I have a large compile file generated in my Python package which is ignored in .gitignore, but needs to be included in the .tar.gz that release creates.

The file is generated on-the-fly between prerelease and release in my build CI.

Since it seems Zest checks out all code in a clean, temporary repository, this file is not included in the release.

How do I include this file in the release bundle being sent up?

@mauritsvanrees
Copy link
Member

You would need to create a zest.releaser extension to handle this. A good example would be zest.pocompile. This uses a zest.releaser hook that runs after a fresh copy has been made, and compiles .po files to .mo files.

See the documentation on zest.releaser entry points.

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

2 participants