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

Automatically publish collections to galaxy when a release is published #10

Merged
merged 19 commits into from
Aug 3, 2024

Conversation

crichez
Copy link
Owner

@crichez crichez commented Aug 1, 2024

This PR adds an Actions workflow that publishes the collection to Ansible Galaxy when a release is made.

Christopher Palmer-Richez added 2 commits August 1, 2024 17:05
The publish workflow packages the collection, then attempts to publish
it using the release tag name stripped of its leading "v". If the tag
name and the galaxy.yml version name do not match, ansible-galaxy will
fail to find the tarball.
@crichez crichez self-assigned this Aug 1, 2024
@crichez crichez marked this pull request as draft August 2, 2024 14:19
Christopher Palmer-Richez added 7 commits August 2, 2024 10:33
This commit uses antsibull-changelog to generate changelogs for each
release. The CHANGELOG.rst file generated in this process will serve as
the body of the release. The source tarball is attached as an artifact.
The combination of the manually and auto generated parts failed the lint
check.
@crichez crichez marked this pull request as ready for review August 3, 2024 18:24
@crichez crichez merged commit 26e2284 into main Aug 3, 2024
1 check passed
@crichez crichez deleted the repo/publish-workflow branch August 3, 2024 18:27
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

Successfully merging this pull request may close these issues.

1 participant