-
Notifications
You must be signed in to change notification settings - Fork 255
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
Create releasing guidelines #608
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Releasing Guidelines for Cucumber Godog | ||
|
||
This document provides guidelines for releasing new versions of Cucumber Godog. Follow these steps to ensure a smooth and consistent release process. | ||
|
||
## Versioning | ||
|
||
Cucumber Godog follows [Semantic Versioning]. Version numbers are in the format `MAJOR.MINOR.PATCH`. | ||
|
||
### Current (for v0.MINOR.PATCH) | ||
|
||
- **MINOR**: Incompatible API changes. | ||
- **PATCH**: Backward-compatible new features and bug fixes. | ||
|
||
### After v1.X.X release | ||
|
||
- **MAJOR**: Incompatible API changes. | ||
- **MINOR**: Backward-compatible new features. | ||
- **PATCH**: Backward-compatible bug fixes. | ||
|
||
## Release Process | ||
|
||
1. **Update Changelog:** | ||
- Open `CHANGELOG.md` and add an entry for the upcoming release formatting according to the principles of [Keep A CHANGELOG]. | ||
- Include details about new features, enhancements, and bug fixes. | ||
|
||
2. **Run Tests:** | ||
- Run the test suite to ensure all existing features are working as expected. | ||
|
||
3. **Manual Testing for Backwards Compatibility:** | ||
- Manually test the new release with external libraries that depend on Cucumber Godog. | ||
- Look for any potential backwards compatibility issues, especially with widely-used libraries. | ||
- Address any identified issues before proceeding. | ||
|
||
4. **Create Release on GitHub:** | ||
- Go to the [Releases] page on GitHub. | ||
- Click on "Draft a new release." | ||
- Tag version should be set to the new tag vMAJOR.MINOR.PATCH | ||
- Title the release using the version number (e.g., "vMAJOR.MINOR.PATCH"). | ||
- Click 'Generate release notes' | ||
|
||
5. **Publish Release:** | ||
- Click "Publish release" to make the release public. | ||
|
||
6. **Announce the Release:** | ||
- Make an announcement on relevant communication channels (e.g., [community Slack]) about the new release. | ||
|
||
## Additional Considerations | ||
|
||
- **Documentation:** | ||
- Update the project documentation on the [website], if applicable. | ||
|
||
- **Deprecation Notices:** | ||
- If any features are deprecated, clearly document them in the release notes and provide guidance on migration. | ||
|
||
- **Compatibility:** | ||
- Clearly state any compatibility requirements or changes in the release notes. | ||
|
||
- **Feedback:** | ||
- Encourage users to provide feedback and report any issues with the new release. | ||
|
||
Following these guidelines, including manual testing with external libraries, will help ensure a thorough release process for Cucumber Godog, allowing detection and resolution of potential backwards compatibility issues before tagging the release. | ||
|
||
[community Slack]: https://cucumber.io/community#slack | ||
[website]: https://cucumber.github.io/godog/ | ||
[Releases]: https://github.com/cucumber/godog/releases | ||
[Semantic Versioning]: http://semver.org | ||
[Keep A CHANGELOG]: http://keepachangelog.com |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a common approach for
v1+
, but with currentv0
we're still in officially unstable API mode (v0
is to avoid import path changes in Go module before we reach stable API). We can not use MAJOR to convey information about backwards compatibility, so a more helpful indication at the moment is to use MINOR for breaking changes and PATCH for all backwards compatible changes.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, got it, thanks. How about the below formulation then:
Current (for v0.MINOR.PATCH)
After v1.X.X release