equinix-labs / ansible-collection-equinix

Ansible content to help automate the management of Equinix resources
https://deploy.equinix.com/labs/ansible-collection-equinix/
GNU General Public License v3.0
2 stars 8 forks source link

make @sematic-release/git ingore files (from our .gitignore) in release commit #170

Closed t0mk closed 3 months ago

t0mk commented 3 months ago

During v0.4.0 release, we got __pycache__ dirs to the repo.

For example: https://github.com/equinix-labs/ansible-collection-equinix/tree/v0.4.0/plugins/modules/__pycache__

We have __pycache__ in gitignore but semantic release seem to ignore it. Apparently @semantic-release/git takes everything from it's defined assests from .releaserc.json.

https://github.com/semantic-release/git/pull/56

https://github.com/equinix-labs/ansible-collection-equinix/blob/15057a97a29b01ba70f53af4748afa8d543cce03/.releaserc.json#L34

I think the __pycache__ dir were created on make docs. We have to find a way to ingore pycache in @semantic-release/git,

github-actions[bot] commented 3 months ago

This issue has been resolved in version 0.4.1 :tada: