When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct that we ask you to follow in all your interactions with the project.
IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Thank you for your pull request. Please provide a description above and review the requirements below.
- Check out Pull Request Checklist, ensure you have fulfilled each step.
- Check out guidelines below, the project tries to follow these, ensure you have fulfilled them as much as possible.
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Please ensure the README and DOCS are up-to-date with details of changes to the command-line interface, this includes new environment variables, exposed ports, used file locations, and container parameters.
- PLEASE ENSURE YOU DO NOT INTRODUCE BREAKING CHANGES.
- PLEASE ENSURE BUG FIXES AND NEW FEATURES INCLUDE TESTS.
- You may merge the Pull Request in once you have the sign-off of one other maintainer/code owner, or if you do not have permission to do that, you may request the second reviewer to merge it for you.
- Read the CONTRIBUTING document. (It's checked since you are already here.)
- Read the CODE OF CONDUCT document.
- Add tests to cover changes.
- Ensure your code follows the code style of this project.
- Ensure CI and all other PR checks are green OR
- Code compiles correctly.
- Created tests which fail without the change (if possible).
- All new and existing tests passed.
- Add your changes to
Unreleased
section of CHANGELOG. - Improve and update the README (if necessary).
- Ensure documentation is up-to-date. The same file will be updated in plugin index when your PR is accepted, so it will be available for end-users at http://plugins.drone.io.
Only concerns maintainers/code owners
-
PLEASE DO NOT INTRODUCE BREAKING CHANGES
-
Execute
make README.md
. This will update usage section of README.md with latest CLI options -
Increase the version numbers in any examples files and the README.md to the new version that this the release would represent. The versioning scheme we use is SemVer for versioning. For the versions available, see the tags on this repository.
-
Ensure CHANGELOG is up-to-date with new version changes.
-
Update version references.
-
Create a tag on the master. Any changes on the master will trigger a release with the given tag and `latest tag.
$ git tag -am 'vX.X.X' > ... $ git push --tags > ...
-
Check whether all the generate artifacts in-place properly.
-
Update plugin index using DOCS.
Keep in mind that users usually use the
latest
tagged images in their pipeline, please make sure you do not interfere with their working workflow.