Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #85 from geerlingguy/29-update-release-instructions
Browse files Browse the repository at this point in the history
Fixes #29: Make sure release instructions ignore extra files in repo.
  • Loading branch information
geerlingguy authored May 4, 2020
2 parents b21494a + 9885c3e commit 7875aba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,14 @@ There are also integration tests in the `molecule` directory which are meant to

## Publishing New Versions

The current process for publishing new versions of the Kubernetes Collection is manual, and requires a user who has access to the `community.kubernetes` namespace on Ansible Galaxy to publish the build artifact.
The current process for publishing new versions of the Kubernetes Collection is manual, and requires a user who has access to the `community.kubernetes` namespace on Ansible Galaxy to publish the build artifact. See [Issue #43](https://github.com/ansible-collections/community.kubernetes/issues/43) for progress in automating this process.

1. Ensure you're running Ansible from devel, so the [`build_ignore` key](https://github.com/ansible/ansible/issues/67130) in `galaxy.yml` is used.
1. Run `git clean -x -d -f` in this repository's directory to clean out any extra files which should not be included.
1. Ensure `CHANGELOG.md` contains all the latest changes.
2. Update `galaxy.yml` and this README's `requirements.yml` example with the new `version` for the collection.
3. Tag the version in Git and push to GitHub.
4. Run the following commands to build and release the new version on Galaxy:
1. Update `galaxy.yml` and this README's `requirements.yml` example with the new `version` for the collection.
1. Tag the version in Git and push to GitHub.
1. Run the following commands to build and release the new version on Galaxy:

```
ansible-galaxy collection build
Expand Down
3 changes: 3 additions & 0 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ tags:
- okd
- cluster
version: 0.10.0
build_ignore:
- .DS_Store
- '*.tar.gz'

0 comments on commit 7875aba

Please sign in to comment.