You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+73
Original file line number
Diff line number
Diff line change
@@ -72,3 +72,76 @@ Copy the token value and execute the following command:
72
72
```bash
73
73
export ANSIBLE_GALAXY_SERVER_AH_TOKEN=<token>
74
74
```
75
+
76
+
## Release Process
77
+
78
+
We follow a structured release process for this project. Here are the steps involved:
79
+
80
+
1.**Create a Release Branch:**
81
+
- Start by creating a new release branch from the `main` branch.
82
+
83
+
```bash
84
+
git checkout -b release/v-<version>
85
+
```
86
+
87
+
2.**Update Changelog:**
88
+
- Open the `CHANGELOG.md` file to manually add your change to the appropriate section.
89
+
- Our changelog follows the [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format and includes the following categories of changes:
90
+
91
+
-`Added` for new features.
92
+
-`Changed` for changes in existing functionality.
93
+
-`Deprecated` for features that will be removed in upcoming releases.
94
+
-`Fixed` for bug fixes.
95
+
-`Removed` for deprecated features that were removed.
96
+
-`Security` for security-related changes.
97
+
98
+
- Add a new entry under the relevant category. Include a brief summary of the change and the merge request commit tag.
99
+
100
+
```markdown
101
+
## [Unreleased]
102
+
103
+
### Added
104
+
105
+
- New feature or enhancement ([Merge Request Commit](https://github.com/ansible/product-demos/-/commit/<commit-hash>))
106
+
```
107
+
108
+
- Replace `<commit-hash>` with the actual commit hash from the merge request.
109
+
110
+
3. **Commit Changes:**
111
+
- Commit the changes made to the `CHANGELOG.md` file.
112
+
113
+
```bash
114
+
git add CHANGELOG.md
115
+
git commit -m "Update CHANGELOG for release <version>"
116
+
```
117
+
118
+
4.**Create a Pull Request:**
119
+
- Open a pull request from the release branch to the `main` branch.
120
+
121
+
5.**Review and Merge:**
122
+
- Review the pull request and merge it into the `main` branch.
123
+
124
+
6.**Tag the Release:**
125
+
- Once the pull request is merged, tag the release with the version number.
126
+
127
+
```bash
128
+
git tag -a v-<version> -m "Release <version>"
129
+
git push origin v-<version>
130
+
```
131
+
132
+
7.**Publish the Release:**
133
+
- After the successful completion of the pull request and merging into the `main` branch, an automatic GitHub Action will be triggered to publish the release.
134
+
135
+
The GitHub Action will perform the following steps:
136
+
- Parse the `CHANGELOG.md` file.
137
+
- Generate a release note based on the changes.
138
+
- Attach relevant files (such as `LICENSE`, `CHANGELOG.md`, and the generated `CHANGELOG.txt`) to the GitHub Release.
139
+
140
+
No manual intervention is required for this step; the GitHub Action will handle the release process automatically.
0 commit comments