From 9885c3e1f626d7b332e7cba05a6d91330e4bef47 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Mon, 4 May 2020 11:41:45 -0500 Subject: [PATCH] Fixes #29: Make sure release instructions ignore extra files in repo. --- README.md | 10 ++++++---- galaxy.yml | 3 +++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 356b91ed..bc3e8776 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/galaxy.yml b/galaxy.yml index 0f854cd7..23d92ccb 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -27,3 +27,6 @@ tags: - okd - cluster version: 0.10.0 +build_ignore: + - .DS_Store + - '*.tar.gz'